diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-12-29 11:06:54 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-12-29 11:06:54 -0500 |
commit | e077a72dd6719202332ef9ed70a5a0b9948df8ef (patch) | |
tree | dd8bc415904f32eab4b448aba25ea90a4d04cb74 | |
parent | 62a93da8f4834efb1d8fb71e2a3ced4002b7451f (diff) | |
download | wmletterhead-e077a72dd6719202332ef9ed70a5a0b9948df8ef.tar.gz wmletterhead-e077a72dd6719202332ef9ed70a5a0b9948df8ef.zip |
comments clean up
-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 |