TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a ten page LaTeX document in which only the first page number shows (i.e., 1). The rest of the page numbering does not show. How can I fix this?

share|improve this question
up vote 17 down vote accepted

Most likely you have \pagestyle{empty} in your document. Remove that line and by default you will get page numbers on every page.

share|improve this answer
You are absolutely right. Thanks very much. – Nana Mar 18 '12 at 13:21
@Nana You should thank David by upvoting his answer (with the upward pointing arrow to the left of it) and accepting it (by clicking on the checkmark). – lockstep Mar 18 '12 at 13:35
@lockstep: Done!!! – Nana Mar 18 '12 at 14:31
Instead of removing {empty} you can add \pagestyle{myheadings} or \pagestyle{plain} or {headings} to get what you want -> {plain} plain page number. {empty} empty heads and footers, no page numbers. {headings} puts running headings on each page as per the document style. {myheadings} you specify what is to go in the heading with the \markboth or the \markright commands. – Echeban Sep 6 '15 at 14:10

Your Answer


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.