| 1 | <!-- |
| 2 | uvaletter 1.1.3 2026-04-26 |
| 3 | Michele Piazzai <[email protected]> |
| 4 | https://piazzai.github.io/ |
| 5 | https://mit-license.org/ |
| 6 | --> |
| 7 | |
| 8 | # uvaletter |
| 9 | |
| 10 | This is an unofficial LaTeX package that provides a letterhead template for the University of Amsterdam. The design mimics the [official Word template](https://www.uva.nl/over-de-uva/over-de-universiteit/huisstijl/downloadstools/brief/brief.html) of the University and complies with the University's [house style](https://www.uva.nl/over-de-uva/over-de-universiteit/huisstijl/huisstijl.html). |
| 11 | |
| 12 |  |
| 13 | |
| 14 | ## Installation |
| 15 | |
| 16 | This package is hosted on CTAN and distributed as part of MikTex and TeXLive. It can also be installed manually by cloning this repository in your `$HOME/texmf/tex/latex` folder, which is searched by LaTeX. If you do not have such a folder, you can [create it](https://www.ias.edu/math/computing/faq/local-latex-style-files). |
| 17 | |
| 18 | ## Usage |
| 19 | |
| 20 | The package can be loaded with a `pageno` option that enables page numbering. Be aware that, in order for the layout to display, your letter body should be wrapped in a `letterhead` environment. |
| 21 | |
| 22 | Here is a minimal working example: |
| 23 | |
| 24 | ```tex |
| 25 | \documentclass{letter} |
| 26 | \usepackage{uvaletter} |
| 27 | |
| 28 | \logo{logo.jpg} |
| 29 | \recipient{foo} |
| 30 | \department{bar} |
| 31 | \visiting{} |
| 32 | \postal{} |
| 33 | \website{} |
| 34 | \date{} |
| 35 | \yourreference{} |
| 36 | \ourreference{} |
| 37 | \contactperson{} |
| 38 | \phone{} |
| 39 | \email{} |
| 40 | \subject{} |
| 41 | \enclosed{} |
| 42 | |
| 43 | \begin{document} |
| 44 | \begin{letterhead} |
| 45 | |
| 46 | Hello world! |
| 47 | |
| 48 | \end{letterhead} |
| 49 | \end{document} |
| 50 | ``` |
| 51 | |
| 52 | The `\recipient{}` and `\department{}` commands are mandatory and their arguments must be non-empty. All other commands are optional and can be removed, commented out, or left empty. |
| 53 | |
| 54 | In order for a logo to be displayed, you must indicate a path to the image in `\logo{}`. All official logos of the University of Amsterdam, including faculties, departments, and institutes, can be found [here](https://www.uva.nl/over-de-uva/over-de-universiteit/huisstijl/huisstijlelementen/logo/logo.html). If a path is not provided or the file is not found, the logo space is left blank. |
| 55 | |
| 56 | ## Bugs |
| 57 | |
| 58 | In case of problems, please [open an issue](https://github.com/piazzai/uvaletter/issues). |