aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2014-12-17 01:12:25 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2014-12-17 01:12:25 -0500
commite56ec94405d5d27d268f2e7426c5307d98572a84 (patch)
tree92444d35c00d5abfeaebc305a04dbb13f0be0a12
parent7616dc57cab40311384c8adfa81ac8b3acaab116 (diff)
downloadwmletterhead-e56ec94405d5d27d268f2e7426c5307d98572a84.tar.gz
wmletterhead-e56ec94405d5d27d268f2e7426c5307d98572a84.zip
more general logo height definition
-rw-r--r--wmletterhead.cls7
1 files changed, 4 insertions, 3 deletions
diff --git a/wmletterhead.cls b/wmletterhead.cls
index 237e066..40f1ba2 100644
--- a/wmletterhead.cls
+++ b/wmletterhead.cls
@@ -65,10 +65,11 @@
%% WM fancy letter head definition
+\renewcommand{\wmlogoheight}{0.65in}%
\fancypagestyle{firstpage}{% looks like this has no effect for the letter class
\fancyhf{}%
\fancyhead[R]{%
- \includegraphics[height=0.5in,keepaspectratio=true]{\wmheaderlogo}%
+ \includegraphics[height=\wmlogoheight,keepaspectratio=true]{\wmheaderlogo}%
}%
\renewcommand{\headrulewidth}{0pt}%
\fancyfoot[C]{\thepage}%
@@ -76,7 +77,7 @@
\fancypagestyle{plain}{% this takes care of the 2nd and the following pages
\fancyhf{}%
\fancyhead[L]{%
- \includegraphics[height=0.5in,keepaspectratio=true]{\wmheaderlogo}%
+ \includegraphics[height=\wmlogoheight,keepaspectratio=true]{\wmheaderlogo}%
}%
\renewcommand{\headrulewidth}{0pt}%
\fancyfoot[C]{\thepage}%
@@ -84,7 +85,7 @@
\fancypagestyle{empty}{% some how this is the very first page style
\fancyhf{}%
\fancyhead[L]{%
- \includegraphics[height=0.5in,keepaspectratio=true]{\wmheaderlogo}%
+ \includegraphics[height=\wmlogoheight,keepaspectratio=true]{\wmheaderlogo}%
}%
\renewcommand{\headrulewidth}{0pt}%
\fancyfoot[C]{\thepage}%