Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexfikl/uvt-letterhead

Replicating the UVT letterhead in LaTeX
https://github.com/alexfikl/uvt-letterhead

latex-template letterhead uvt

Last synced: 9 days ago
JSON representation

Replicating the UVT letterhead in LaTeX

Awesome Lists containing this project

README

        

# UVT Letterhead in LaTeX

This is a reproduction of the UVT (West University of Timișoara) letterhead in
LaTeX. It uses the UVT [branding](https://dci.uvt.ro/identitate-vizuala)
and [replicates this document](https://docs.google.com/document/d/1qyRK3fjVANnRFPRCYI8VLL42Ay-z07ZM/edit).
A full description of the various parts of the branding can be found in the
[Official Manual](https://www.dci.uvt.ro/wp-content/uploads/2019/03/MANUAL-IDENTITATE-NEW-WEB-FINAL-2016-.pdf).

This template style is fairly complete and working well, but any feature requests
or bug reports to improve it are **very welcome**!

## How to use

Copy `uvt-letterhead.sty`, `template.tex`, and the relevant logos from `assets/`
to your working directory. You will need `signature.png` or some other signature
image if you want to use one. Modify `template.tex` as appropriate and build with
`PDFLaTeX` (or `XeLaTeX` or `LuaLaTeX` for the adventurous).

The package defines the following options used as `\usepacakge[opts]{uvt-letterhead}`.

| Option | Description |
| :- | :- |
| `doublespacing` | Use double spaced paragraphs (default `onehalfspacing`) |
| `nomyriadpro` | Do not load the *Myriad Pro* fonts (default loads if available) |
| `headerlogo` | Place the department logo in header instead of footer |
| `department=` | Use predefined department info (header and footer) |
| `layoutgrid` | Adds a debug grid to check alignment |

The standard branding colors are given below.

| Color | RGB
| :- | :-
| `UVTLightBlue` | ![#3471B8](https://placehold.co/15x15/3471B8/3471B8.png) `(52, 113, 183)` |
| `UVTDarkBlue` | ![#024A76](https://placehold.co/15x15/024A76/024A76.png) `(3, 75, 119)` |
| `UVTYellow` | ![#E3AB23](https://placehold.co/15x15/E3AB23/E3AB23.png) `(228, 172, 36)` |

The following helper macros are defined for some standard functionality.

| Macro | Description |
| :- | :- |
| `\uvtdate` | Current date formatted in `DD.MM.YYYY`|
| `\uvtopenletter` | Adds a standard letter opening on the left |
| `\uvtcloseletter` | Adds a standard letter signature on the left |
| `\uvtcloseform` | Adds date on the left and name on the right |

The following commands are available to define the department, author, etc.
The entries marked *letter* refer to the letter oppening or closing statement,
the entries marked *header* will appear in the header, and the entries marked
*footer* will appear in the footer.

| Command | Description |
| :- | :- |
| `\fromdate{}` | Date (default `\today`) |
| `\closing{}` | Closing text (e.g. `Sincerely`) (optional)|
| `\fromsignature{}` | Signature file (letter) (optional) |
| `\fromname{}` | Author name (letter) |
| `\fromemail{}` | Author email (letter) (optional) |
| `\fromweb{}` | Author website (letter) (optional) |
| `\fromoffice{}` | Author office / sub-department (header) (optional)|
| `\fromuniversity{}` | University name |
| `\fromuniversitylogo{}` | Logo for the university |
| `\fromdept{}` | Department name (header) |
| `\fromdeptlogo{}` | Department logo (header) |
| `\fromdeptaddress{}` | Department address (footer) |
| `\fromdeptphone{}` | Department phone (footer) |
| `\fromdeptemail{}` | Department email (footer) |
| `\fromdeptweb{}` | Department website (footer) |

The `\fromdept*` commands can be used to overwrite department information set
using `department=name` or to define custom departments that are not yet included.
The following departments are currently defined. Notably, this does not include
any of the administrative offices that also have logos in the official branding.
Help to add these is very appreciated!

| Keyword | Department |
| :- | :- |
| arte | Faculty of Arts and Design |
| cbg | Faculty of Chemistry, Biology, Geography |
| drept | Faculty of Law |
| feaa | Faculty of Economy and Business Administration |
| fefs | Faculty of Sports |
| fizica | Faculty of Physics |
| fmi | Faculty of Mathematics and Computer Science |
| fmt | Faculty of Music and Theater |
| fsp | Faculty of Sociology and Psychology |
| lift | Faculty of Letters, History, Philosophy and Teology |
| fsgc | Faculty of Political Science and Communication |
| icam | ICAM |
| csud | University Doctoral Studies Council |
| uvt | Dean / Main office |
| uvt80 | Dean / Main office (80 year anniversary logo) |

Their logos are all expected to live in `assets/uvt-logo-.png`, but can be
easily overwritten using
```latex
\fromdeptlogo{figures/my-dept-logo.png}
```

## Fonts

Note that, by default this uses the [Myriad Pro](https://fonts.adobe.com/fonts/myriad)
font. This font is generally not available for free, but can be purchased from
Adobe or a [reseller](https://www.fontspring.com/fonts/adobe/myriad-pro). The
OTF fonts can be directly loaded by the `XeLaTeX` or `LuaLaTeX` engines. To
get it working on `PDFLaTeX`, use the [FontPro](https://github.com/sebschub/FontPro)
distribution. If you cannot obtain the font (or the installation does not work
for some reason), it can be disabled with the `nomyriadpro` option. In general,
we recommend using a free sans serif font instead, e.g `\usepackage{helvet}` for
the Helvetica look-alike Nimbus Sans L or `\usepackage{paratype}` for the PT Sans
fonts that resemble Myriad Pro better.

If you are using `XeLaTeX` or `LuaLaTeX`, there are many other nice fonts to
keep in mind that would work well. For example: Carlito (a Calibri clone),
Caladea (a Cambria clone), Montserrat (inspired by Gotham), Adobe Source Sans,
and many others. A nice font will always make your letter look nicer!

## What it looks like

[Full PDF](template.pdf)
![template](images/template.png "template")

## Acknowledgement

The skeleton of `uvt-letterhead.sty` was copied from
[Luke Olson's reproduction](https://github.com/lukeolson/illinois-letterhead) of
the University of Illinois at Urbana-Champaign letterhead, though little of
the original remains.

## License

Creative Commons Attribution 4.0 International