Moves paper, assignment, and letter templates from pdflatex to lualatex, and replaces the Type-1 font setup (mathdesign/garamond, ucs/utf8x, T1 fontenc) with fontspec using EB Garamond for the main font and TeX Gyre Heros for sans. This produces PDFs whose text extracts cleanly and is a prerequisite for tagged/accessible PDF output. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
43 lines
926 B
TeX
43 lines
926 B
TeX
\documentclass[12pt]{letter}
|
|
|
|
\usepackage{fontspec}
|
|
\setmainfont{EB Garamond}
|
|
\setsansfont{TeX Gyre Heros}
|
|
|
|
\usepackage[letterpaper,left=1.3in,right=1.3in,top=0.8in,bottom=0.8in]{geometry}
|
|
|
|
\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}
|
|
|