Template for letters in LaTeX
Several people have asked me for my LaTeX template to write letters, so I guess I might as well put it up on my webpage.
It uses the
I think the markup is relatively self-explanatory.
The template expects a copy of your signature and the logo of your university in the same folder, in images named
logo.(png|jpg|...); this can of course be customized.
If you would like to your letter to be formatted with French norms (recipient on the right, sender on the left, compatible with standard windowed letters), add the
NF option to the
Remember to also change the parameter of the
Other options are available, see “Letter Class Option Files” in the
Since I use
polyglossia (for language-specific settings) and
unicode-math (for the fonts), the file needs to be compiled with either XeLaTeX or LuaLaTeX.
If you do not want this, then remove these two packages, the
\setmathfont commands, and add the following lines at the beginning of the preamble: