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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply