diff options
Diffstat (limited to 'wmletterhead.cls')
-rw-r--r-- | wmletterhead.cls | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/wmletterhead.cls b/wmletterhead.cls index cf6f9aa..0949621 100644 --- a/wmletterhead.cls +++ b/wmletterhead.cls @@ -115,10 +115,7 @@ % -------------------------------------------------- % -------------------------------------------------- -% Let's calculate top margin -%\newlength{\wmtopmargin} -%\setlength{\wmtopmargin}{\wmlogoheight+\wmlogovpos+\wmlogoseparation}% -% -------------------------------------------------- +% Let's calculate/set page layout \geometry{ letterpaper, @@ -166,7 +163,6 @@ % ------------------------------------------------------------------- % fancyheader definitions -% this is very rudimentary and probably not needed \fancypagestyle{empty}{% looks like this has no effect for the letter class \renewcommand{\headrulewidth}{0pt} \fancyfoot[C]{\thepage}% @@ -177,7 +173,7 @@ \fancyfoot[C]{\thepage}% } -\fancypagestyle{firstpage}{% some how this is the very first page style +\fancypagestyle{firstpage}{% this is the very first page style \renewcommand{\headrulewidth}{0pt} \ifx\lettertagline\@empty \fancyfoot[C]{\thepage}% @@ -186,7 +182,8 @@ \fi } -\pagestyle{plain}% important! if switched to fancy pages 2, 3, ... do not have logo +% Important! if changed expect trouble with pages 2, 3, ... headers/footers +\pagestyle{plain} % ------------------------------------------------------------------- % Now let redefine opening so address goes to the right of logo |