I'm French so it's not easy to explain my problem but I'll try.
I use fancyhdr to make my own headings (book class).
I want the section's title at the right of the heading in small caps, and only in odds pages. But when I print it I can read e.g., "2. DERIVATION" which is what I was expecting.
My question is: how can I remove the number of the section, so that I can obtain just "DERIVATION" and not "2.DERIVATION"?
I wrote :
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{} % clear all header fields
\fancyhead[LE]{\footnotesize{\scshape\nouppercase{\leftmark}}}
\fancyhead[RO]{\footnotesize{\scshape\nouppercase{\rightmark}}}
\fancyfoot{} % clear all footer fields
\fancyfoot[LE,RO]{\thepage}
\renewcommand{\headrulewidth}{0 pt}
\renewcommand{\footrulewidth}{0 pt}
\leftmark
is for chapter and is OK.
The problem is with the \rightmark
, how can I redefine it?
Best Answer
Add the following line to the settings for fancyhdr