]> code.communitydata.science - uw_tex_letterhead.git/blob - main.tex
347204078d2d56ae706139d41ff25352eeb3cea6
[uw_tex_letterhead.git] / main.tex
1 \documentclass[11pt,letterpaper]{article}
2
3 % Metadata -- alter as neded
4 \def\email{email@uw.edu}
5 \def\web{https://website.cc}
6 \def\mobile{XXX.XXX.XXXX}
7 \def\boxno{35XXXX}
8 \def\zipcode{98195-XXXX}
9
10 \usepackage[top=1.2in,left=1.3in,bottom=1in,right=1in]{geometry}
11
12 \usepackage{fontspec}
13 \usepackage{xltxtra}
14 \usepackage{libertine}
15 \setsansfont[
16 ItalicFont=OpenSans-LightItalic.ttf,
17 ]{OpenSans-Light.ttf}[Scale=MatchLowercase]
18
19 % \usepackage[
20 % final,
21 % stretch=10,
22 % protrusion=true]{microtype}
23
24 \usepackage{polyglossia}
25 \setdefaultlanguage{english}
26
27 \usepackage{graphicx}
28 \usepackage[colorlinks=false,
29             pdfborder={0 0 0},
30             ]{hyperref}
31 \usepackage{tikz}
32
33 \usepackage{lastpage}
34 \usepackage{fancyhdr}
35 \pagestyle{fancy}
36 \renewcommand{\footrulewidth}{0pt}
37 \renewcommand{\headrulewidth}{0pt}
38 \fancyhead{}
39 \fancyhead[C]{%
40   \begin{tikzpicture}[remember picture,overlay]
41     \node at (current page.north west) [yshift=-0.5in,xshift=0.5in,anchor=north west]
42     {\includegraphics[width=607pt]{figures/uw-header.pdf}};
43   \end{tikzpicture}}
44 \fancyfoot{}
45 \fancyfoot[L] {\sffamily{
46 Box {\boxno}\hspace{0.3cm}Seattle, WA {\zipcode}\\ % If you don't want to include your physical campus address, comment out this line
47 \href{\email}{\email}\hspace{0.3cm}\href{\web}{\web}
48 }}
49 \fancyfoot[R] {\sffamily{\thepage/\pageref*{LastPage}}}
50
51
52 % No paragraph indentation
53 \parindent 0pt
54
55 \setlength{\parskip}{0.5\baselineskip}
56 \setlength{\headheight}{14pt}
57 \setlength{\footskip}{35pt}
58 % \raggedright
59 \linespread{1.05}
60
61 \begin{document}
62
63 \hfill{\today}
64
65 \bigskip
66
67 To Some Committee,\\
68 Some School or Department\\
69 Some University\\
70
71 \vspace{-0.5em}
72 Dear members of the Committee,
73
74 I am writing to show off this new~\XeLaTeX~thing.
75
76 \XeLaTeX~supports sytem fonts, and also local TTF/OTF fonts. \XeLaTeX~also support Unicode way better, and supports shaping of complex scripts (e.g.~Indic or Arabic).
77
78 Hope you will find this template useful.
79
80 Sincerely,
81
82 \includegraphics[width=1.7in]{figures/signature.png}
83
84 Some Name
85
86 \end{document}

Community Data Science Collective || Want to submit a patch?