»User Guide
Text based document generation

LaTeXMathML capability has been added to AsciiDoc for users who are more familar with or prefer LaTeX math formulas to the ASCIIMathML notation.

LaTeXMathML is a derivative of ASCIIMathML — in terms of usage the only difference it that you use the latexmath attribute instead of the asciimath attribute.

LaTeXMathML processes LaTeX math formulas not arbitrary LaTeX (as dblatex(1) does). See the LaTeXMathML website for details.

Here’s the AsciiDoc source that generated this page.

Some example LaTeXMathML formulas:

  • $R_x = 10.0 \times \sin(R_\phi)$

  • $\sum_{n=1}^\infty \frac{1}{2^n}$

  • $\lim_{x\to\infty} f(x) = k \choose r + \frac ab \sum_{n=1}^\infty a_n + \displaystyle{ \left\{ \frac{1}{13} \sum_{n=1}^\infty b_n \right\} }$

  • $\$\alpha + \$\beta = \$(\alpha + \beta)$

  • $\begin{eqnarray} x & = & \frac{-7 \pm \sqrt{49 - 24}}{6} \\ & = & -2 \textrm{ or } -\frac13. \end{eqnarray}$

  • $\displaystyle{ V_i = C_0 - C_3 \frac{C_1\cos(\theta_i+C_3)}{C_4+C_1\cos(\theta_i+C_2)} }$