I use \documentclass[12pt, a4paper]{report} for my thesis. I have three parts, each with an abstract. Whenever I put an abstract, the page numbering resets to 1. I would like to continue with the numbering it had before placing the abstract.

Minimum working example:

\documentclass[12pt, a4paper]{report}




\part{Part 1}


\part{part 2}



  • Can you please provide a minimal working example. I can't reproduce your problem.
    – Thorsten
    May 10 '11 at 15:38
  • @Thorsten: It is best to provide a link to the minimal working example (MWE) post on the Meta site, especially for new users. See also the Text building blocks thread. May 10 '11 at 15:45
  • @Juan: Welcome to TeX.SX. You can (and should) edit your original question to add such information. I copied it to it for you now. May 10 '11 at 15:50
  • @Juan: If you add @username into your comments then that user is notified about it. May 10 '11 at 16:06

It depends on the option of the class titlepage. The default setting is titlepage=true. You can do two things:

\documentclass[12pt, a4paper,notitlepage]{report}

Or redefine abstract:

      {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
  • Your first suggestion works fine \documentclass[12pt, a4paper,notitlepage]{report} but I get numbering on the title page too. The second option \makeatletter \@titlepagefalse \makeatother does not work for me.
    – Juan
    May 10 '11 at 16:07
  • I changed my answer. Sorry May 10 '11 at 16:21
  • Could you please explain what the notitlepage option does? Apr 30 '13 at 15:14
  • @StrawberryFieldsForever With this option you decide whether the environment titlepage is used or not`. The environment starts a new page and end this page. It also put in onecolumn mode whether you are working with twocolumn or not. Apr 30 '13 at 16:13

You can patch the titlepage environment. abstract uses titlepage (if the class option titlepage is set, which it seemingly is for the report class) and titlepage sets the page counter to 1 (in \begin and \end).

\patchcmd{\titlepage}{\setcounter{page}\@ne}{}     {}{\PackageError{titlepage}{failed to patch \string\begin{titlepage} to not reset the page counter}{}}
\patchcmd{\endtitlepage}{\setcounter{page}\@ne}{}  {}{\PackageError{titlepage}{failed to patch \string\end{titlepage} to not reset the page counter}{}}

See \show\abstract and \show\titlepage.

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.