mathml/testfiles-lua/test_struct.pvt

64 lines
940 B
Plaintext
Raw Normal View History

\ExplSyntaxOn
\sys_gset_rand_seed:n{1000}
\ExplSyntaxOff
\RequirePackage{pdfmanagement-testphase}
\DeclareDocumentMetadata{
uncompress,
pdfversion = 2.0,
}
\documentclass{article}
\usepackage{tagpdf}
\usepackage[structelem]{luamml-demo}
\tagpdfsetup{
activate-all,
interwordspace=true,
}
\usepackage{unicode-math}
\begin{document}
\tagstructbegin{tag=Document}
2021-11-01 06:47:55 +01:00
\tagstructbegin{tag=P}
\tagmcbegin{tag=P}
hello
\tagmcend
\tagstructend
\LuaMMLTagAF{} {
\[
\begin{pmatrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1
\end{pmatrix}
=
\begin{cases}
2021-11-01 06:47:55 +01:00
1 & \text{if $a=b$} \\
2 & \text{else}
\end{cases}
\]
}
\LuaMMLTagAF{} {
\[
x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}.
\]
}
\LuaMMLTagAF{} {
\[
\sum_a\underline c\dot bc'
\]
}
\LuaMMLTagAF{} {
\begin{align}
abc&=def & e^{\mathrm{i}\pi}&=-1\\
\Big(1+2&=3\Big)\\
5
\end{align}
}
Es gilt \LuaMMLTagAF{}{$\sin(x)-\sin(x+2\pi)=0$}.
\tagstructend
\end{document}