diff options
Diffstat (limited to 'tests/inputs/latexmathml.txt')
-rw-r--r-- | tests/inputs/latexmathml.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/inputs/latexmathml.txt b/tests/inputs/latexmathml.txt new file mode 100644 index 0000000..a1df891 --- /dev/null +++ b/tests/inputs/latexmathml.txt @@ -0,0 +1,41 @@ +LaTeXMathML Formulae +==================== + +https://www.maths.nottingham.ac.uk/plp/pmadw/lm.html[LaTeXMathML] +capability has been added to AsciiDoc for users who are more familar +with or prefer LaTeX math formulas to the +https://asciidoc.org/asciimath.html[ASCIIMath] +notation. + +'LaTeXMathML' is a derivative of +https://asciidoc.org/asciimath.html[ASCIIMath] -- 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 +https://www.maths.nottingham.ac.uk/plp/pmadw/lm.html[LaTeXMathML] +website for details. + +Here's the link:latexmathml.txt[AsciiDoc source] that generated this +page. + +Some example 'LaTeXMathML' formulas: + +- latexmath:[$R_x = 10.0 \times \sin(R_\phi)$] + +- latexmath:[$\sum_{n=1}^\infty \frac{1}{2^n}$] + +- latexmath:[$\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\} }$] + +- latexmath:[$\$\alpha + \$\beta = \$(\alpha + \beta)$] + +- latexmath:[$\begin{eqnarray} x & = & \frac{-7 \pm + \sqrt{49 - 24}}{6} \\ & = & -2 \textrm{ or } -\frac13. + \end{eqnarray}$] + +- latexmath:[$\displaystyle{ V_i = C_0 - C_3 + \frac{C_1\cos(\theta_i+C_3)}{C_4+C_1\cos(\theta_i+C_2)} }$] + |