\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}
\usepackage{booktabs}

\input{fonts.tex}

\definecolor{makopurple1}{RGB}{57,39,91}
\definecolor{makopurple4}{RGB}{124,99,173}
\definecolor{accent}{RGB}{124,99,173}
\colorlet{TrantorDark}{makopurple1}

\usepackage{trantor}
\usepackage{talk-notes}

\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{\textbf{Benjamin Mako Hill}\\
  makohill@uw.edu}
\institute{\textbf{University of Washington}\\
  Department of Communication\\
  \emph{Associate Professor}\\
  \hspace{1pt}\\
  \textbf{Harvard University}\\
  Berkman Klein Center\\
  \emph{Faculty Associate}}
\date{December 2, 1980}

\begin{document}

% As in beamer, \maketitle and the divider commands can sit inside a frame you
% open yourself, so notes and extras go alongside them. The revision stamp
% comes from vc, which make writes before TeX runs.
\begin{frame}
  \maketitle
  \input{vc}
  \footline{Revision:\ \VCRevision\ (\VCDateTEX)}
  \note{Introduce yourself before the title slide leaves the screen.}
\end{frame}

\section{Introduction}
\begin{frame}
  \sectionpage
  \note{One sentence on why the introduction matters.}
\end{frame}

\begin{frame}
  \frametitle{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.}
  \note[item]{Check the clock here.}
  \note[item]{Ask whether anyone has seen the 2099 preprint.}
\end{frame}

\begin{frame}
  \frametitle{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}

\subsection{An Introductory Subsection}
\subsectionpage

\begin{frame}
  \frametitle{After the subsection page}
  Subsections get their own divider, showing the section above the subsection.

  \note{The subsection page is trantor's, not ltx-talk's.}
\end{frame}

\appendix
\standout{Example and Data Appendix}

\begin{frame}
  \frametitle{A table}
  % without this the header cells are tagged TD like any other
  \tagpdfsetup{table/header-rows={1}}
  \begin{tabular}{lrr}
    \toprule
    Wiki & Editors & Articles \\
    \midrule
    English   & 121{,}000 & 6{,}900{,}000 \\
    German    &  17{,}000 & 2{,}900{,}000 \\
    Cebuano   &     150   & 6{,}100{,}000 \\
    \bottomrule
  \end{tabular}

  \note{Numbers are made up; the point is that the table is tagged.}
\end{frame}

\begin{frame}
  \frametitle{A figure}
  \includegraphics[width=0.3\linewidth,
    alt={Community Data Science Collective logo}]{figures/logo.pdf}

  Every figure needs alt text, or the artifact option if it is decoration.

  \note{Alt text reaches the PDF here, unlike under beamer.}
\end{frame}

\end{document}
