aboutsummaryrefslogtreecommitdiff
path: root/wmletterhead.cls
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2014-12-17 00:58:00 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2014-12-17 00:58:00 -0500
commite9166acca98c426a3ff707063ebcb9300452f45e (patch)
tree3b973a30e61841f6f9994a75c3abfa6805fb97c3 /wmletterhead.cls
parent0ef65efe4b9e9583c928a244afed6e5e1778cde9 (diff)
downloadwmletterhead-e9166acca98c426a3ff707063ebcb9300452f45e.tar.gz
wmletterhead-e9166acca98c426a3ff707063ebcb9300452f45e.zip
improved formatting and extra comments for header styles
Diffstat (limited to 'wmletterhead.cls')
-rw-r--r--wmletterhead.cls26
1 files changed, 19 insertions, 7 deletions
diff --git a/wmletterhead.cls b/wmletterhead.cls
index f5a3001..10588e8 100644
--- a/wmletterhead.cls
+++ b/wmletterhead.cls
@@ -65,11 +65,23 @@
%% WM fancy letter head definition
-\fancypagestyle{firstpage}{\fancyhf{}\fancyhead[R]{\includegraphics[height=0.5in,
- keepaspectratio=true]{\wmheaderlogo}}}
-\fancypagestyle{plain}{\fancyhf{}\fancyhead[L]{\includegraphics[height=0.5in,
- keepaspectratio=true]{\wmheaderlogo}}}
-\fancypagestyle{empty}{\fancyhf{}\fancyhead[L]{\includegraphics[height=0.5in,
- keepaspectratio=true]{\wmheaderlogo}}}
-\pagestyle{plain}
+\fancypagestyle{firstpage}{% looks like this has no effect for the letter class
+ \fancyhf{}%
+ \fancyhead[R]{%
+ \includegraphics[height=0.5in,keepaspectratio=true]{\wmheaderlogo}%
+ }%
+}
+\fancypagestyle{plain}{% this takes care of the 2nd and the following pages
+ \fancyhf{}%
+ \fancyhead[L]{%
+ \includegraphics[height=0.5in,keepaspectratio=true]{\wmheaderlogo}%
+ }%
+}
+\fancypagestyle{empty}{% some how this is the very first page style
+ \fancyhf{}%
+ \fancyhead[L]{%
+ \includegraphics[height=0.5in,keepaspectratio=true]{\wmheaderlogo}%
+ }%
+}
+\pagestyle{plain}% important! if switched to fancy pages 2, 3, ... do not have logo