On Friday 01 October 2010 19:01:10 Steve Litt wrote:
> Hi all,
>
> I'm using a document class derived from the Book class, and that can't
> change.
>
> Given that, how can I get headers and footers to show up on the chapter
> intro pages as well as the other pages? Every page that starts a chapter
> currently has no header or footers, and magically prints its page number
> on the bottom instead of in the header.
>
> Thanks
>
> StevET
I should have RTFM'ed. The well known way to do this is to redefine pagestyle
plain to include the desired headers/footers. Here's an example that does
that:
% ### Change plain style headers to approximate fancy headers
\fancypagestyle{plain}{%
\fancyhf{} % clear all header and footer fields
\fancyfoot[C]{~\\[0.2in] -- \thepage --}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}}
]{\markboth{\footnotesize\textsc{\textbf{\slshape\chaptername{} \thechapter:
#1}}}{}}
\fancyhead[L]]{\leftmark}
I've also read about \pagestyle{fancyplain}, which supposedly is a much easier
way to do this.
SteveT
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt