From: Benjamin Mako Hill Date: Wed, 4 Apr 2018 17:32:35 +0000 (-0700) Subject: added page numbers for longer letters X-Git-Url: https://code.communitydata.science/uw_tex_letterhead.git/commitdiff_plain/HEAD?ds=sidebyside;hp=2fc2a05e5430b2d0480a00c8708bb60710b37980 added page numbers for longer letters --- diff --git a/washington_letterhead_letter-matrix-deptartment.tex b/washington_letterhead_letter-matrix-deptartment.tex index e79f742..ac989c8 100644 --- a/washington_letterhead_letter-matrix-deptartment.tex +++ b/washington_letterhead_letter-matrix-deptartment.tex @@ -47,11 +47,16 @@ 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 @@ -64,7 +69,7 @@ BoldItalicFont = *-BoldItalic \fi } \fancyfoot[L] {} -\fancyfoot[R] {}%{\thepage/\pageref*{LastPage}} +\fancyfoot[R] {} % No paragraph indentation \parindent 0pt