When using the "exam" document class, LaTeX prints "1" for the page number at the bottom of the first page but prints "Page n" for all successive pages where n is the page number. Anyone know how to fix this? I just want the page number to appear at the bottom of each page.

  • Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – mafp
    Jun 19, 2013 at 8:18

1 Answer 1


The footer can be redefined with the \footer{...}{...}{...} command in the preamble.



\title{A title}
\author{A. Author}


\section{Section One}

  What if there were no air?



  • This doesn't fix my problem - I want the footer on EVERY page to be JUST the page number. For instance, the footer on page 34 should just read "34".
    – Ryan
    Jun 19, 2013 at 9:52
  • @RyanPeden Sorry, I misread your question. This should work now as requested.
    – mafp
    Jun 19, 2013 at 9:57
  • 1
    @RyanPeden Welcome! If this answer is what you've been looking for, please consider to accept it.
    – mafp
    Jun 20, 2013 at 7:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .