I have a LyX article, structured with Parts -> Sections -> Subsections, and I want to print the Part name in the document header.
I am trying to get the part name with the following command, but it prints "Part"
\fancyhead[LE,RO]{\slshape \partname}
I have also read & tried this but my document doesn't compile.
How can I simply get the part name within the LaTeX Preamble?
\renewcommand{part}...but not\renewcommand{\part}.... It is a typo, isn't it? – e-birk Apr 27 '13 at 16:01