]> code.communitydata.science - uw_tex_letterhead.git/blobdiff - washington_letterhead_letter-matrix-deptartment.tex
added page numbers for longer letters
[uw_tex_letterhead.git] / washington_letterhead_letter-matrix-deptartment.tex
index 1508150fa0ed479a9cbd80e3b790a07089331294..ac989c8af54a75ca9d5efcf8474717a00cdd089b 100644 (file)
@@ -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

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