aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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