Chapter and Section Names in Header
<<<< ^^^^^ >>>>
   \markboth{\small\slshape\chaptername{} \thechapter: #1}{}
   \markright{\small\slshape\thesection : #1}


How this works

Each new chapter calls \chaptermark with the chapter's title

\chaptermark sets the right and left marks

\fancyhf uses the right and left marks.

<<<< ^^^^^ >>>>
Copyright (C) 2002 by Steve Litt, you can freely distribute unmodified copies if this copyright notice and disclaimer are intact.  This material originally appeared on Troubleshooters.Com.

This presentation has no warranty, express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the presentation is with you.


Exit Slideshow