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.

lockstep
  • 250,273
Crowley
  • 4,297
  • 1
    Duplicate of or related to http://tex.stackexchange.com/questions/15170/header-and-footer-of-the-first-page-of-every-chapter? – Joseph Wright May 20 '11 at 11:58

1 Answers1

5

Make known the plain page style to fancyhdr

\fancypagestyle{plain}{%
  \fancyhf{}\fancyfoot[R]{\thepage}%
  \renewcommand{\headrulewidth}{0pt}}
egreg
  • 1,121,712