hzhu
September 25, 2020, 1:26am
1
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
Actual result
Environment
aja2488
September 25, 2020, 1:34am
2
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
$$
hzhu
September 25, 2020, 1:57am
4
Thanks.
But I think some command are not supported although MathJax said it is supported.
For example:
$\real$ shows this
hzhu
September 25, 2020, 1:59am
5
WhiteNoise:
Thanks.
That is really helpful!