使用Mathjax显示有理数

时间:2018-10-20 17:20:52

标签: mathjax

你知道我为什么写作吗?

`1/2`

它显示为分数(1大于2)。但是当我写:

\begin{align} 10x &= 5 \\ x &= 1/2 \end{align}

它显示所写的1/2(彼此相邻)。

(我使用Mathjax)

1 个答案:

答案 0 :(得分:2)

第一种形式使用AsciiMath预处理器:

  

默认情况下,asciimath2jax预处理程序定义反勾号(`)   作为AsciiMath格式的数学定界符。

http://docs.mathjax.org/en/latest/asciimath.html#asciimath-delimiters

后者使用LaTex预处理程序语法,因此您必须编写如下内容:

 \begin{align} 10x &= 5 \\ x &= \frac{1}{2} \end{align}

http://docs.mathjax.org/en/latest/tex.html#automatic-equation-numbering

相关问题