I have a problem with page numbering in LaTeX. I don't want any page number in my document so I used \pagestyle{empty} but every time when I start a new chapter I get a page number on the bottom center of the page with the chapter's title. What should I do to remove those page numbers?

My document class looks like this:

\documentclass[12pt, a4paper]{book}

migrated from stackoverflow.com Aug 29 '11 at 13:09

This question came from our site for professional and enthusiast programmers.

  • See also How to suppress the page number. – Stefan Kottwitz Aug 29 '11 at 16:48
  • @Stephen: American spelling doesn't need to be corrected ;) – doncherry Nov 28 '11 at 21:37
  • Welcome to TeX.sx! Your question was migrated here from another stackexchange site. Please register on this site, too, and make sure that both accounts are associated with each other, otherwise you won't be able to comment on or accept answers or edit your question. – doncherry Nov 28 '11 at 21:37
  • @doncherry: Ups! Ok, when editing I just changed everything in the way I would write it (BE) and did not think about it possibly being right in AE. If it had only been center vs. centre I would not have edited it, of course. But thanks for pointing out, I'll regard it next time. – Stephen Nov 30 '11 at 18:54
  • another question on same topic: how to remove page numbers from first page of chapters – barbara beeton May 18 '13 at 12:41

at the start of the document and


at the start of each new chapter/section/... should suppress page numbering, other than for part.

To remove all page numbering it may be simpler to


as this makes \pagestyle{plain} have the same effect as \pagestyle{empty} thus removing all the page numbering without having to specify it for every section.


The "cleanest" solution is to say


in the document's preamble. On the other hand, I would normally advise against having no page numbers, except for very specific applications.


If I remember correctly, this should work:


(I can't test it on this pc, sorry.)

However I'm sure there are cleaner solutions. One is to use memoir, which allows you to (relatively) easily customize the style first page of a chapter.


I think the best way is to change the used pagestyle like this:



take a look at this document: ftp://ftp.dante.de/pub/tex/macros/latex/contrib/koma-script/scrguide.pdf

  • 2
    though no one voted for this answer but I think redefine the plain page style is the best way to go. Having thispagestyle manually on the start of every chapter is not practical. Modify internal macros like \ps@plain should not be advocated unless it is absolutely necessary. \pagenumbering{gobble} has the side effect of reseting page numbers. – Yan Zhou Aug 30 '11 at 15:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy