6

I don't know why I am getting two page numbers on the same page, one in the center and one on the right:

\documentclass[a4paper,12pt]{report}
\voffset=-1in

%setting the header
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[LO,LE]{Mohammad Noorani Bakerally}
\fancyhead[RO,RE]{Pattern-Based Development}
\rfoot{\thepage}
\begin{document}
The aim of the application is to create a Sushi plate and show its details.
\end{document}

output

Why does the one in the center still appear?

  • If the given answer help you solve the problem, please kindly accept it by clicking the check mark button below its score. Clicking the check mark button makes it green and increase your acceptance. The higher acceptance you have, the higher chance people help your other questions. :-) – kiss my armpit Mar 11 '13 at 20:08
  • done, sorry for the delay – Noor Mar 11 '13 at 20:15
11

You need to remove the default center foot:

Add

\cfoot{}
  • 6
    It's usually advised to clear the header/footer entirely. Hence the use of \fancyhf{}. – Werner Feb 18 '13 at 20:39

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.