]> code.communitydata.science - uw_tex_letterhead.git/commitdiff
added page numbers for longer letters master
authorBenjamin Mako Hill <mako@atdot.cc>
Wed, 4 Apr 2018 17:32:35 +0000 (10:32 -0700)
committerBenjamin Mako Hill <mako@atdot.cc>
Wed, 4 Apr 2018 17:32:35 +0000 (10:32 -0700)
washington_letterhead_letter-matrix-deptartment.tex

index e79f7422304b079925db9f29bd971d75349c6980..ac989c8af54a75ca9d5efcf8474717a00cdd089b 100644 (file)
@@ -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

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