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. – Marco Daniel Apr 20 '13 at 6:46

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{}

| improve this answer | |
  • Thanks. The counter is working properly now, but how do I make a page number appear on the abstract page? – Nick Apr 20 '13 at 8:42
  • @Nick I've added the code. – egreg Apr 20 '13 at 8:48

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.