I am going crazy over the page numbers in my thesis. I have included the relevant part of my document below.

I have two problems:

  • The dedication is numbered ii. which is good, but the abstract is not numbered, the table of contents resets to i., and the second page of the ToC is numbered 1.
  • Page numbers for roman style and "new chapter" pages appear bottom-center instead of top-right, which is fine with me, but they fall below the allowed margin of 1 inch.

\setlength{\topmargin}{0 in}
\setlength{\headheight}{0.25 in}
\setlength{\oddsidemargin}{0.5 in}
\setlength{\textwidth}{6 in}
\setlength{\textheight}{8.5 in}
\setlength{\headsep}{0.25 in}


\pagestyle{myheadings} \markright{}

  • Welcome to TeX.sx! Put a \clearpage before every \pagenumbering. \pagenumbering changes the page number of the current page and not the next one. Commented Apr 20, 2013 at 6:46

1 Answer 1


You get three times a page 1 in the front matter: in the report class the titlepage environment which is used also by abstract resets the page number to 1.

I suggest you to use the book class with its \frontmatter and \mainmatter commands, with \chapter{\abstractname} for the abstract in the front matter.

However also the report class can be used, after patching the relevant commands; I show only the important parts, add the rest to suit. It's probably better to \usepackage[<options>]{geometry} for setting the page parameters and \usepackage{setspace} for the interline spacing.

Remember the \clearpage command before \pagenumbering{arabic}.


%%% PATCHES %%%
% Patch `titlepage` not to reset the page number

% Patch `abstract` so that it shows the page number



\clearpage %%%%% <---- IMPORTANT
\pagestyle{myheadings} \markright{}

  • Thanks. The counter is working properly now, but how do I make a page number appear on the abstract page?
    – Nick
    Commented Apr 20, 2013 at 8:42
  • @Nick I've added the code.
    – egreg
    Commented Apr 20, 2013 at 8:48
  • I fully agree with @egreg answer, but also remember that '\pagenumbering` reset the page counter to 1. If you want to avoid this, you can replace pagenumbering{arabic} by \renewcommand{\thepage}{\arabic{page}}
    – Jhor
    Commented Nov 27, 2022 at 10:33

You must log in to answer this question.

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