mathml/testfiles-lua/cases.mlt

40 lines
612 B
Plaintext
Raw Normal View History

2021-11-02 02:27:20 +01:00
\DeclareDocumentMetadata{
uncompress,
pdfversion = 2.0,
2022-12-04 08:38:32 +01:00
testphase = phase-I,
2021-11-02 02:27:20 +01:00
}
2022-12-04 08:38:32 +01:00
\input{regression-test}
2021-11-02 02:27:20 +01:00
\documentclass{article}
\usepackage[l3build]{luamml-demo}
\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}