In my Latex document the page number is reset when I call the \maketitle
function. My document class is \documentclass[a4paper, twoside, 14pt]{extreport}
.
An example is illustrated here:
\documentclass[a4paper, twoside, 14pt]{extreport}
\title{Page resetting title}
\author{J Smith}
\begin{document}
\pagenumbering{arabic}
first page
\newpage
second page
\newpage
third page
\maketitle
\newpage
fifth page
\newpage
sixth page
\end{document}
I would like to prevent this, but I don't know where the page number will be eventually.
I could use \setcounter{page}{}
, but I don't know how to pass a dynamic argument.
Could anybody please tell me how to either prevent \maketitle
from resetting the counter, or restore the count dynamically myself?
Best Answer
The easiest way is to use the
notitlepage
option