Cuts the multi-line rationale blocks down to what a reader of the file needs. The reasoning behind the tagging setup belongs in the commit messages that introduced it, not repeated above every \DocumentMetadata block. Also trims the README: drops the consequence clause explaining what happens when the standard is declared without the tagging, drops the quoted TeX Live 2024 error message, and notes that sid has a new enough TeX Live for anyone not on Overleaf. Adds the caveat that a veraPDF PASS is necessary but not sufficient, since a document whose body text is all artifact passes too. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
69 lines
1.8 KiB
TeX
69 lines
1.8 KiB
TeX
% Tagged PDF (PDF/UA-2) accessibility setup.
|
|
\DocumentMetadata{
|
|
tagging=on,
|
|
pdfversion=2.0,
|
|
pdfstandard=ua-2,
|
|
lang=en-US,
|
|
}
|
|
\documentclass[12pt]{letter}
|
|
|
|
\usepackage{fontspec}
|
|
% fontspec disables the classic TeX input ligatures by default
|
|
% (-- => en-dash, --- => em-dash, `` and '' => curly quotes), so
|
|
% re-enable them globally for every font loaded below.
|
|
\defaultfontfeatures{Ligatures=TeX}
|
|
\setmainfont{Libertinus Serif}
|
|
% Mako prefers Adobe Garamond Premier Pro
|
|
% (https://fonts.adobe.com/fonts/garamond-premier-pro). It is a
|
|
% commercial font and is not redistributable, so the templates default
|
|
% to the free Libertinus Serif above. If you have the font installed
|
|
% (e.g., dropped into ~/.fonts/), comment the line above and uncomment
|
|
% the next one. CDSC members can contact Mako (mako@atdot.cc) for the
|
|
% font files.
|
|
% \setmainfont{Garamond Premier Pro}
|
|
\setsansfont{TeX Gyre Heros}
|
|
|
|
\usepackage[letterpaper,left=1.3in,right=1.3in,top=0.8in,bottom=0.8in]{geometry}
|
|
|
|
\usepackage{hyperref}
|
|
\hypersetup{unicode=true,
|
|
pdftitle={Letter},
|
|
pdfauthor={Benjamin Mako Hill},
|
|
pdflang={en-US},
|
|
pdfdisplaydoctitle=true}
|
|
|
|
\begin{document}
|
|
|
|
\begin{letter}{Person Letter is Addressed To\\
|
|
Followed by Address}
|
|
|
|
\address{Benjamin Mako Hill\\
|
|
Massachusetts Institute of Technology\\
|
|
Room E15-312\\
|
|
20 Ames Street\\
|
|
Cambridge, MA 02139-4307}
|
|
|
|
\signature{Benjamin Mako Hill}
|
|
|
|
\location{Massachusetts Institute of Technology\\
|
|
Room E15-020c\\
|
|
20 Ames Street\\
|
|
Cambridge, MA 02139-4307}
|
|
|
|
\telephone{(206) 409-7191}
|
|
|
|
\opening{To whom it may concern,}
|
|
\setlength\parindent{0.25in}
|
|
|
|
Text of Letter goes here. Text of Letter goes here. Text of Letter
|
|
goes here. Text of Letter goes here. Text of Letter goes here. Text of
|
|
Letter goes here. Text of Letter goes here. Text of Letter goes
|
|
here. Text of Letter goes here.
|
|
|
|
\closing{Regards,}
|
|
|
|
\end{letter}
|
|
|
|
\end{document}
|
|
|