[OS X TeX] fancyhdr and marks

Frank STENGEL fstengel at mac.com
Tue Oct 18 20:11:37 CEST 2005


I have been trying to build a personal document class and I have come  
up something weird with fancyhdr. I use version 3.1

If I declare

\pagestyle{fancy}
\renewcommand{\sectionmark}[1]{Section #1}% just for the sake of an  
example

I get what I asked for. Plus I can change page styles any number of  
times if I want without any problems. If, instead, I define  
\sectionmark before the first \pagestyle then the definition for  
\sectionmark reverts to the original one (\markboth{\MakeUppercase 
{ etc.) after the execution of \pagestyle{...}. Can anyone confirm?  
Is that intentional (i.e a design feature) or a buglet?
-- 
Frank STENGEL (fstengel<at>mac.com)

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list