Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
1  
Duplicate of or related to tex.stackexchange.com/questions/15170/…? –  Joseph Wright May 20 '11 at 11:58
add comment

1 Answer

up vote 4 down vote accepted

Make known the plain page style to fancyhdr

\fancypagestyle{plain}{%
  \fancyhf{}\fancyfoot[R]{\thepage}%
  \renewcommand{\headrulewidth}{0pt}}
share|improve this answer
    
Simple and accurate. Thanks. –  Crowley May 20 '11 at 10:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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