Page Layout ⇒ header
header
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
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