mathml/testfiles-lua/cases.mlt
2021-11-02 02:27:20 +01:00

44 lines
681 B
Plaintext

\RequirePackage{pdfmanagement-testphase}
\DeclareDocumentMetadata{
uncompress,
pdfversion = 2.0,
}
\documentclass{article}
\usepackage[l3build]{luamml-demo}
\usepackage{tagpdf}
\tagpdfsetup{
activate-all,
interwordspace=true,
}
\begin{document}
\tagstructbegin{tag=Document}
\LuaMMLTagAF{} {
\[
\left(\begin{matrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1
\end{matrix}\right)
=
\begin{cases}
1 & \mbox{if $a=b$}\\
2 & \mbox{else}
\end{cases}
\]
}
\LuaMMLTagAF{} {
\[
x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}.
\]
}
\LuaMMLTagAF{} {
\[
\sum_a\underline c\dot bc'
\]
}
Es gilt \LuaMMLTagAF{}{$\sin(x)-\sin(x+2\pi)=0$}.
\tagstructend
\end{document}