% \DocumentMetadata enables LaTeX tagging support and sets options.
\DocumentMetadata{
pdfversion=2.0,
pdfstandard=ua-2,
tagging-setup={math/setup=mathml-SE},
uncompress
}
\title{Example Document}
\author{A. Person}
\documentclass{article}
% Using Unicode fonts for math improves the possibility of good math tagging.
\usepackage{unicode-math}
\begin{document}
\maketitle
% Text structures such as sections and lists are automatically tagged.
\section{Example}
Some text
\begin{itemize}
\item one
\item two
\end{itemize}
% Display math
\[
ax^2+b^x+c=0
\]
\end{document}
You may directly run the example above, or edit it within this web page before generating the PDF. Please keep the examples relatively small. The texlive.net LaTeX server and the ngPDF tagged PDF editor are provided free of charge by their respective owners, but do not have unlimited resources and are intended for small educational examples.
The PDF will (by default) be generated via a standard TeXLive 2026 lualatex-dev. The options used in the above example will tag every math expression with the TeX source of the expression, and with an automatically generated MathML version. The resulting tagging, and the derived HTML (using the MathML associated with each math formula) may be viewed by following the link to the ngPDF site.
The submitted TeX source is deleted as soon as the PDF is generated, and the resulting PDF is deleted after an hour.