aboutsummaryrefslogtreecommitdiff
path: root/wmletterhead.cls
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2014-12-17 00:58:34 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2014-12-17 00:58:34 -0500
commit91ccc47c694230025867a86aa464a385fdf17641 (patch)
tree33e5d56a57212f18c636314f154731770f185852 /wmletterhead.cls
parente9166acca98c426a3ff707063ebcb9300452f45e (diff)
downloadwmletterhead-91ccc47c694230025867a86aa464a385fdf17641.tar.gz
wmletterhead-91ccc47c694230025867a86aa464a385fdf17641.zip
added page number to the central footer
Diffstat (limited to 'wmletterhead.cls')
-rw-r--r--wmletterhead.cls3
1 files changed, 3 insertions, 0 deletions
diff --git a/wmletterhead.cls b/wmletterhead.cls
index 10588e8..554a789 100644
--- a/wmletterhead.cls
+++ b/wmletterhead.cls
@@ -70,18 +70,21 @@
\fancyhead[R]{%
\includegraphics[height=0.5in,keepaspectratio=true]{\wmheaderlogo}%
}%
+ \fancyfoot[C]{\thepage}%
}
\fancypagestyle{plain}{% this takes care of the 2nd and the following pages
\fancyhf{}%
\fancyhead[L]{%
\includegraphics[height=0.5in,keepaspectratio=true]{\wmheaderlogo}%
}%
+ \fancyfoot[C]{\thepage}%
}
\fancypagestyle{empty}{% some how this is the very first page style
\fancyhf{}%
\fancyhead[L]{%
\includegraphics[height=0.5in,keepaspectratio=true]{\wmheaderlogo}%
}%
+ \fancyfoot[C]{\thepage}%
}
\pagestyle{plain}% important! if switched to fancy pages 2, 3, ... do not have logo