1
0

first stab at makoifying

This commit is contained in:
2018-02-18 19:40:00 -08:00
parent 0bb99e9461
commit 87e171c7a7
36 changed files with 25 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
\documentclass[11pt,letterpaper]{article}
\documentclass[12pt,letterpaper]{article}
% MODIFY THE DETAILS IN THIS SECTION TO MATCH WHAT YOU WANT ON /YOUR/ LETTERHEAD
\def\department{Department of Awesomeness}
\def\department{Department of Communication}
\def\uwaddress{Communications (CMU) 306~~Box 353740~~4109 NE Stevens Way~~Seattle, WA~~98195-3740}
\def\phone{mobile 206-409-7191}
\def\email{makohill@uw.edu}
@@ -9,10 +9,13 @@
\usepackage[top=1.25in,left=1.25in,bottom=1.20in,right=1.25in]{geometry}
\usepackage{fontspec}
\usepackage{xltxtra}
\setmainfont{OpenSans}[
\usepackage{fontspec}
\newopentypefeature{Contextuals}{NoAlternate}{-calt}
\defaultfontfeatures{Kerning=Uppercase,Mapping=tex-text,}
\setsansfont{OpenSans}[
Path = ./fonts/OpenSans/,
Extension = .ttf,
UprightFont = *-Regular,
@@ -21,6 +24,14 @@ ItalicFont = *-Italic,
BoldItalicFont = *-BoldItalic
]
\setmainfont{GaramondPremrPro}[
Path = ./fonts/Garamond/,
Extension = .otf,
BoldFont = *-Bd,
ItalicFont = *-It,
BoldItalicFont = *-BdIt
]
\usepackage{polyglossia}
\setdefaultlanguage{english}
@@ -54,27 +65,32 @@ BoldItalicFont = *-BoldItalic
\ifnum\thepage=1
\begin{tikzpicture}[remember picture,overlay,every node/.style={inner sep=0,outer sep=0}]
\node at (current page.south west) [yshift=0.614in,xshift=1.21in,anchor=north west]
{\fontsize{9pt}{11pt} \selectfont \uwaddress};
{\sffamily \fontsize{9pt}{11pt} \selectfont \uwaddress};
\node at (current page.south west) [yshift=0.40in,xshift=1.21in,anchor=north west]
{\fontsize{9pt}{11pt} \selectfont \phone~~\email~~\web};
{\sffamily \fontsize{9pt}{11pt} \selectfont \phone~~\email~~\web};
\end{tikzpicture}
\fi
}
\fancyfoot[L] {}
\fancyfoot[R] {}%{\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}
% these two sections turn off the aggressively long alternate q
\addfontfeatures{Contextuals=NoAlternate}
\hfill \today
\bigskip
@@ -119,8 +135,8 @@ Sed ullamcorper morbi tincidunt ornare massa eget egestas purus. Feugiat pretium
Sincerely,
\includegraphics[width=1.7in]{figures/signature.pdf}\\
John Hancock\\
\includegraphics[width=1.7in]{figures/mako-signature-2012.pdf}\\
Benjamin Mako Hill\\
Assistant Professor of Communication\\
Adjunct Assistant Professor of Human-Centered Design and Engineering