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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p