1
0
uw_tex_letterhead/main.tex
Sayamindu Dasgupta fd870ead08 Initial import
2017-11-24 20:09:28 -08:00

87 lines
2.0 KiB
TeX

\documentclass[11pt,letterpaper]{article}
% Metadata -- alter as neded
\def\email{email@uw.edu}
\def\web{https://website.cc}
\def\mobile{XXX.XXX.XXXX}
\def\boxno{35XXXX}
\def\zipcode{98195-XXXX}
\usepackage[top=1.2in,left=1.3in,bottom=1in,right=1in]{geometry}
\usepackage{fontspec}
\usepackage{xltxtra}
\usepackage{libertine}
\setsansfont[
ItalicFont=OpenSans-LightItalic.ttf,
]{OpenSans-Light.ttf}[Scale=MatchLowercase]
% \usepackage[
% final,
% stretch=10,
% protrusion=true]{microtype}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\usepackage{graphicx}
\usepackage[colorlinks=false,
pdfborder={0 0 0},
]{hyperref}
\usepackage{tikz}
\usepackage{lastpage}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\footrulewidth}{0pt}
\renewcommand{\headrulewidth}{0pt}
\fancyhead{}
\fancyhead[C]{%
\begin{tikzpicture}[remember picture,overlay]
\node at (current page.north west) [yshift=-0.5in,xshift=0.5in,anchor=north west]
{\includegraphics[width=607pt]{figures/uw-header.pdf}};
\end{tikzpicture}}
\fancyfoot{}
\fancyfoot[L] {\sffamily{
Box {\boxno}\hspace{0.3cm}Seattle, WA {\zipcode}\\ % If you don't want to include your physical campus address, comment out this line
\href{\email}{\email}\hspace{0.3cm}\href{\web}{\web}
}}
\fancyfoot[R] {\sffamily{\thepage/\pageref*{LastPage}}}
% No paragraph indentation
\parindent 0pt
\setlength{\parskip}{0.5\baselineskip}
\setlength{\headheight}{14pt}
\setlength{\footskip}{35pt}
% \raggedright
\linespread{1.05}
\begin{document}
\hfill{\today}
\bigskip
To Some Committee,\\
Some School or Department\\
Some University\\
\vspace{-0.5em}
Dear members of the Committee,
I am writing to show off this new~\XeLaTeX~thing.
\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).
Hope you will find this template useful.
Sincerely,
\includegraphics[width=1.7in]{figures/signature.png}
Some Name
\end{document}