[Tex/LaTex] Prevent abstract environment to reset pagenumbering

abstractpage-numberingtitles

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}

\begin{document}
\title{title}
\maketitle
\tableofcontents

\chapter*{Introduction}
\addcontentsline{toc}{part}{Introduction}

 Introduccion

\part{Part 1}
\begin{abstract}
abstract
\end{abstract}

Part1

\part{part 2}
\begin{abstract}
abstract
\end{abstract}

Part2

\part{3}
\begin{abstract}
abstract
\end{abstract}


\end{document}

Best Answer

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:

\makeatletter
\renewenvironment{abstract}{%
  \if@twocolumn
    \section*{\abstractname}%
  \else
    \small
    \begin{center}%
      {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
    \end{center}%
    \quotation
  \fi}
  {\if@twocolumn\else\endquotation\fi}
\makeatother