Beamer cannot produce a genuinely tagged PDF. The master template validates as PDF/UA-2 only because tagpdf marks everything it was not told about as decorative, so a screen reader gets the frame titles and nothing else. Beamer 3.77 then made matters worse by refusing \DocumentMetadata outright, which breaks tagging on TeX Live 2025 and leaves the deck failing validation altogether. ltx-talk was written by the LaTeX Project with tagging as a design goal. The slides built here carry real paragraphs, lists as L/LI/Lbl/LBody, sections as headings, formulas as MathML, and alt text that reaches the PDF. veraPDF passes on the strength of that structure rather than in spite of its absence. The metropolis theme files go with beamer; trantor replaces them. Fonts, figures and the purple palette are unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
85 lines
2.2 KiB
TeX
85 lines
2.2 KiB
TeX
\DocumentMetadata{
|
|
tagging=on,
|
|
tagging-setup={math/setup=mathml-SE},
|
|
pdfstandard=ua-2,
|
|
pdfversion=2.0,
|
|
lang=en-US,
|
|
}
|
|
\documentclass[aspectratio=169]{ltx-talk}
|
|
|
|
\usepackage{unicode-math}
|
|
\usepackage{graphicx}
|
|
|
|
% Font paths must stay inside this directory. LuaTeX fails to resolve a
|
|
% parent-relative Path= and dies with an unhelpful empty-filename error.
|
|
\setsansfont{OpenSans}[
|
|
Path = fonts/OpenSans/, Extension = .ttf,
|
|
UprightFont = *-Regular, BoldFont = *-Bold,
|
|
ItalicFont = *-Italic, BoldItalicFont = *-BoldItalic]
|
|
\setmonofont{RobotoMono}[
|
|
Path = fonts/RobotoMono/, Extension = .ttf,
|
|
UprightFont = *-Regular, BoldFont = *-Bold,
|
|
ItalicFont = *-Italic, BoldItalicFont = *-BoldItalic]
|
|
|
|
\definecolor{makopurple1}{RGB}{57,39,91}
|
|
\definecolor{makopurple4}{RGB}{124,99,173}
|
|
\definecolor{accent}{RGB}{124,99,173}
|
|
|
|
\usepackage{trantor}
|
|
\usepackage{talk-notes}
|
|
|
|
% trantor's dark panels (section pages and \standout) default to black
|
|
\colorlet{TrantorDark}{makopurple1}
|
|
|
|
\hypersetup{pdfdisplaydoctitle=true,pdftitle={Presentation Title}}
|
|
|
|
\renewcommand{\titlelogo}{%
|
|
\includegraphics[height=1.4cm,
|
|
alt={Community Data Science Collective logo}]{figures/logo.pdf}}
|
|
|
|
% \e{} was the beamer template's emphasis command; ltx-talk provides \alert
|
|
\newcommand{\e}[1]{\alert{#1}}
|
|
|
|
\title{Presentation Title}
|
|
\subtitle{Presentation Subtitle}
|
|
\author{Benjamin Mako Hill}
|
|
\institute{University of Washington, Department of Communication}
|
|
\date{December 2, 1980}
|
|
|
|
\begin{document}
|
|
|
|
\maketitle
|
|
|
|
\section{Introduction}
|
|
\sectionpage
|
|
|
|
\begin{frame}{A sample slide}
|
|
A displayed formula:
|
|
\[ \int_{-\infty}^\infty e^{-x^2} \, dx = \sqrt{\pi} \]
|
|
|
|
An itemized list:
|
|
\begin{itemize}[<+->]
|
|
\item itemized item 1
|
|
\item itemized item 2
|
|
\item itemized item 3
|
|
\end{itemize}
|
|
|
|
\footline{Image credit: Shaw and Hill, 2099.}
|
|
|
|
\note<1>{Set up the integral before revealing anything else.}
|
|
\note{Mention that this is the Gaussian integral.}
|
|
\note<3->{Once the whole list is up, tie it back to the opening claim.}
|
|
\end{frame}
|
|
|
|
\begin{frame}{Short frame title}
|
|
\e{A first} paragraph with \texttt{monospace text}.
|
|
|
|
And then \e{a second} paragraph.
|
|
|
|
\note{A note that applies to this whole frame.}
|
|
\end{frame}
|
|
|
|
\standout{Example and Data Appendix}
|
|
|
|
\end{document}
|