I would like to include the chapter number only (i.e. without the word "chapter"), and its title on the left header on a page.
So far, I have used the following code:
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markright{\chaptername\ \ #1}{}}
\lhead[\fancyplain{}{}]{\fancyplain{}{\bfseries\rightmark}}
\chead[\fancyplain{}{}]{\fancyplain{}{}}
\rhead[\fancyplain{}{}]{\fancyplain{}{\bfseries\thepage}}
It is not exactly what I want, though:
- I have the bolded page number on the top right as desired;
- I have the bolded chapter name on the top left as desired;
But:
- I also have the word "Chapter" appearing before the chapter name, and no number
What I would like to appear in the header is, for example:
2 Blabla
Best Answer
\chaptername
inserts the wordChapter
. What you want isHere is a minimal example: