mathml/test_tex.tex

47 lines
845 B
TeX
Raw Permalink Normal View History

2021-04-18 15:19:52 +02:00
\documentclass{article}
2021-04-24 16:53:50 +02:00
\usepackage{luamml}
2021-05-03 23:20:48 +02:00
\usepackage{amsmath,array}
\usepackage{unicode-math}
%% Uncomment the following lines when used without unicode-math
% \RegisterFamilyMapping\symsymbols{oms}
% \RegisterFamilyMapping\symletters{oml}
% \RegisterFamilyMapping\symlargesymbols{omx}
\ExplSyntaxOn
2021-05-03 23:20:48 +02:00
\tracingmathml=2
\pdfvariable compresslevel=0
\cs_new_protected:Npn \ShowMathMLObj {
\message { \luamml_get_last_mathml_stream:e{}~0~R }
}
\ExplSyntaxOff
2021-05-03 23:20:48 +02:00
2021-04-18 15:19:52 +02:00
\begin{document}
\[
2021-05-03 23:20:48 +02:00
\begin{pmatrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1
\end{pmatrix}
=
\begin{cases}
1 & $if $a=b\\
2 & $else$
\end{cases}
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}
2021-04-27 01:47:42 +02:00
abc&=def & e^{\mathrm{i}\pi}&=-1\\
2021-04-24 16:53:50 +02:00
1+2&=3\\
5
\end{align}
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}