As part of a recent project, I want to have even and odd pagenumbering, as the document is to be printed double sided. I have added even and odd pagenumbering, which works as intended, however on every page containing a chapter or part header, the page number is centered rather than on the left or right.
\documentclass[12pt, a4paper,openright]{book}
And the headers and footers are:
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[lo,le]{\nouppercase{\rightmark}}
\fancyfoot[LE,RO]{\thepage}
Best Answer
Quoting from p. 7 of the user guide of the
fancyhdr
package:I take it that you want the page numbering on
\part
and\chapter
pages to be "fancy" as well, minus the header portion. If that's the case, the following code should work for you.