[texhax] Fancy headers, parts and chapters

Donald Arseneau asnd at triumf.ca
Mon Oct 8 14:58:48 CEST 2007

"James Smith" <james.smith at aleph-one.com> writes:

> I'm trying to get the name of the part of the book in the left hand
> header and the name of the chapter in the right hand header. 

Use \markboth{title}{title} in the definition of \part, and
\markright{title} in the definition of \chapter.

> little documented, I'm still not even sure what they are. What does
> \markboth do, really?

\markboth declares the text to put in the header for both left-hand
(even numbered) pages and right-hand (odd numbered) pages.

Donald Arseneau                          asnd at triumf.ca

More information about the texhax mailing list