X-Git-Url: https://code.communitydata.science/uw_tex_letterhead.git/blobdiff_plain/2be6b8a43aba6630d7179a92f44b06edde944412..ab31cfe0041d5f6ef073d7f24c59a075f79a9d74:/washington_letterhead_letter-matrix-deptartment.tex diff --git a/washington_letterhead_letter-matrix-deptartment.tex b/washington_letterhead_letter-matrix-deptartment.tex index 1508150..ac989c8 100644 --- a/washington_letterhead_letter-matrix-deptartment.tex +++ b/washington_letterhead_letter-matrix-deptartment.tex @@ -9,10 +9,11 @@ \usepackage[top=1.25in,left=1.25in,bottom=1.20in,right=1.25in]{geometry} -\usepackage{fontspec} \usepackage{xltxtra} -\setmainfont{OpenSans}[ +\usepackage{fontspec} + +\setsansfont{OpenSans}[ Path = ./fonts/OpenSans/, Extension = .ttf, UprightFont = *-Regular, @@ -21,6 +22,8 @@ ItalicFont = *-Italic, BoldItalicFont = *-BoldItalic ] +\setmainfont{OpenSans} + \usepackage{polyglossia} \setdefaultlanguage{english} @@ -44,24 +47,29 @@ BoldItalicFont = *-BoldItalic % add the department name \node at (current page.north west) [anchor=north west, xshift=1.19in, yshift=-0.56in] {{\fontsize{14pt}{16pt} \fontspec{MatrixIIOT-Book.otf}[ - Path = ./fonts/Matrix/ - ] \MakeUppercase \department}}; + Path = ./fonts/Matrix/ + ] \MakeUppercase \department}}; \end{tikzpicture} \fi } +\fancyhead[R]{% + \ifnum\thepage>1 + Page \thepage%/\pageref*{LastPage} + \fi +} \fancyfoot{} \fancyfoot[C]{% \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}} +\fancyfoot[R] {} % No paragraph indentation \parindent 0pt @@ -119,7 +127,7 @@ Sed ullamcorper morbi tincidunt ornare massa eget egestas purus. Feugiat pretium Sincerely, -\includegraphics[width=2.2in]{figures/fake-signature.pdf}\\ +\includegraphics[width=1.7in]{figures/signature.pdf}\\ John Hancock\\ Assistant Professor of Communication\\ Adjunct Assistant Professor of Human-Centered Design and Engineering