3

I'd like to produce report class document with one style of page numbering.

I've declared:

\usepackage{fancyhdr}
\fancyfoot[R]{\thepage}
\pagestyle{fancy}

but on pages with new chapter the page numbers are centered.

How can I protect my fancy setting form overwriting by chapter settings or how can I define my own header and footer for those pages?

Thanks for any approach.

5

Make known the plain page style to fancyhdr

\fancypagestyle{plain}{%
  \fancyhf{}\fancyfoot[R]{\thepage}%
  \renewcommand{\headrulewidth}{0pt}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.