Accessible LaTeX

Accessible LaTeX

It's possible to create accessible PDFs using LaTeX by following formatting best practices.

General guidance for LaTex formatting is available from the following sites:

For more details about accessible math in Blackboard and using Mathpix, review the Accessible Math Digital Accessibility resources.

Sample template

The sample LaTeX template illustrates the essential ingredients: document metadata, tagging, MathML configuration, and enabling math alternative text. Adapt as needed for local TeX installations and document complexity.

\DocumentMetadata{ lang=en, tagging=on, pdfstandard=ua-2, tagging-setup={math/setup={mathml-AF,mathml-SE}} % store MathML in PDF } % This must come BEFORE \documentclass \documentclass{article} \usepackage[margin=0.85in]{geometry} \linespread{1.2} \setlength\parindent{0pt} \usepackage{tagpdf} \tagpdfsetup{math/alt/use} % enables math alt text \usepackage{unicode-math} % amsmath/amssymb not needed \title{Math 151 notes} % Ally typically requires a title. \begin{document} \section*{2.1 The Tangent and Velocity Problems} \includegraphics[alt={alt text}]{image-file-name} If $f(x)$ is defined for $x$ near $a$ except possibly at $a$ and $f(x)$ becomes arbitrarily close to $L$ as $x$ gets sufficiently close to $a$ but not equal to $a$, then we say “the limit of $f(x)$ as $x$ approaches $a$ is $L$” and write \[\lim_{x\to a}f(x)=L\] \subsection*{Discussions} \tagpdfsetup{table/header-rows={1}} \begin{tabular}{llll} Section \# & Day & Time & Room\\ Section 03 & We & 10:00 -- 10:50 am & SOND 202\\ Section 04 & We & 10:00 -- 10:50 am & SOND 206\\ \end{tabular} \end{document}

Advanced LaTeX: LaTeXML

LaTeXML is a TeX-to-XML/HTML converter. When configured for HTML5 output, it can produce HTML containing MathML. Using this approach may be preferred when reliable spoken math is the top priority and HTML distribution is acceptable.