diff options
-rw-r--r-- | wmletterhead.cls | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/wmletterhead.cls b/wmletterhead.cls index 40f1ba2..eb91038 100644 --- a/wmletterhead.cls +++ b/wmletterhead.cls @@ -66,29 +66,22 @@ %% WM fancy letter head definition \renewcommand{\wmlogoheight}{0.65in}% -\fancypagestyle{firstpage}{% looks like this has no effect for the letter class +\renewcommand{\wmheader}{ \fancyhf{}% - \fancyhead[R]{% + \fancyhead[L]{% \includegraphics[height=\wmlogoheight,keepaspectratio=true]{\wmheaderlogo}% }% \renewcommand{\headrulewidth}{0pt}% \fancyfoot[C]{\thepage}% } +\fancypagestyle{firstpage}{% looks like this has no effect for the letter class + \wmheader{}% +} \fancypagestyle{plain}{% this takes care of the 2nd and the following pages - \fancyhf{}% - \fancyhead[L]{% - \includegraphics[height=\wmlogoheight,keepaspectratio=true]{\wmheaderlogo}% - }% - \renewcommand{\headrulewidth}{0pt}% - \fancyfoot[C]{\thepage}% + \wmheader{}% } \fancypagestyle{empty}{% some how this is the very first page style - \fancyhf{}% - \fancyhead[L]{% - \includegraphics[height=\wmlogoheight,keepaspectratio=true]{\wmheaderlogo}% - }% - \renewcommand{\headrulewidth}{0pt}% - \fancyfoot[C]{\thepage}% + \wmheader{}% } \pagestyle{plain}% important! if switched to fancy pages 2, 3, ... do not have logo |