Some Latex symbol are not rendered

Steps to reproduce

Open obsidian and copy the code below:

$$
\underline{f}(\underline{v}): \text{E}^n \rarr \text{E}^n
$$

$$
(\alpha \underline{A})\underline{v}=\alpha \underline{A}(\underline{v}), \alpha \in \R \
(\underline{A}+ \underline{B})\underline{v}=\underline{A}\underline{v}+ \underline{B}\underline{v}\
(\alpha \underline{A}+\beta \underline{B})\underline{v}= \alpha\underline{A}\underline{v}+\beta\underline{B}\underline{v}, \alpha, \beta \in \R
$$

Here the symbol “R”, which represent real number; and ‘right arrow’ , ‘\’ is not rendered.

Expected result

Screen Shot 2020-09-24 at 6.20.26 PM

Actual result

Environment

  • Operating system: Mac 10.15

  • Obsidian version: 0.8.15

  • Custome CSS: None

Do you know if those specific commands come from a special package/extension? Obsidian might not be loading the relevant packages that supports the syntax, as it only loads the default MathJax extensions. There may be a future method for loading additional extensions once the plugin system is released See below to add commands manually.

The equivalent syntax for those situations are:

  • Set of Real Numbers: \mathbb{R}
  • Right Arrow: \rightarrow

As @aja2488 said, these aren’t latex command. \rarr and \R are macros that either you or some package you use have defined.

Obsidian supports adding new macros.

$$
\newcommand{\R}{\mathbb{R}}
\R
$$

Thanks.
But I think some command are not supported although MathJax said it is supported.

For example:
$\real$ shows this
Screen Shot 2020-09-24 at 6.59.46 PM

Thanks.
That is really helpful!