Page Layoutheader

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
emcallen
Posts: 4
Joined: Sat May 09, 2009 7:30 pm

header

Post by emcallen »

Hi,

I would like to put the name of the considered part of my book at the leftside of my header, like " part: Literature" and the name of each chapter within the part at the rightside of my header. No i'm using the following:

\fancyhf[HL]{\slshape{\MakeUppercase{\partname}\ %
\thepart.\ \ \nouppercase{\slshape{\leftmark}}}}%
\fancyhf[HR]{\slshape{\MakeUppercase{\chaptername}\ %
\thechapter.\ \ \nouppercase{\slshape{\leftmark}}}}%

Everything works, except the indication of the name of my part: instead of the name of my part, latex gives the name of my chapter, like this:

part Chaptername chapter Chaptername

instead of

part Partname chapter Chaptername

I hope it's clear want i want to say :s

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply