diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-12-17 00:58:00 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-12-17 00:58:00 -0500 |
commit | e9166acca98c426a3ff707063ebcb9300452f45e (patch) | |
tree | 3b973a30e61841f6f9994a75c3abfa6805fb97c3 | |
parent | 0ef65efe4b9e9583c928a244afed6e5e1778cde9 (diff) | |
download | wmletterhead-e9166acca98c426a3ff707063ebcb9300452f45e.tar.gz wmletterhead-e9166acca98c426a3ff707063ebcb9300452f45e.zip |
improved formatting and extra comments for header styles
-rw-r--r-- | wmletterhead.cls | 26 |
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 |