mathml/test_tex.tex

36 lines
636 B
TeX
Raw Normal View History

2021-04-18 15:19:52 +02:00
\documentclass{article}
2021-04-25 15:20:52 +02:00
% \usepackage{unicode-math}
2021-04-24 16:53:50 +02:00
\usepackage{amsmath}
\usepackage{luamml}
2021-04-22 23:38:28 +02:00
\RegisterFamilyMapping\symsymbols{oms}
\RegisterFamilyMapping\symletters{oml}
2021-04-26 16:01:57 +02:00
\RegisterFamilyMapping\symlargesymbols{omx}
\ExplSyntaxOn
2021-04-27 00:07:17 +02:00
\tracingmathml2
\pdfvariable compresslevel0
\cs_new_protected:Npn \ShowMathMLObj {
\message { \luamml_get_last_mathml_stream:e{}~0~R }
}
\ExplSyntaxOff
2021-04-18 15:19:52 +02:00
\begin{document}
\[
2021-04-24 16:53:50 +02:00
ax^2+bx+c=0
2021-04-18 15:19:52 +02:00
\]
\ShowMathMLObj
2021-04-18 15:19:52 +02:00
\[
x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}.
\]
\[
2021-04-19 13:30:54 +02:00
\sum_a\underline c\dot bc'
2021-04-18 15:19:52 +02:00
\]
2021-04-19 21:04:48 +02:00
2021-04-24 16:53:50 +02:00
\begin{align}
abc&=def\\
1+2&=3\\
5
\end{align}
2021-04-25 18:09:13 +02:00
\ShowMathMLObj
2021-04-24 16:53:50 +02:00
2021-04-19 21:04:48 +02:00
Es gilt $\sin(x)-\sin(x+2\pi)=0$.
2021-04-18 15:19:52 +02:00
\end{document}