135

I'm using titlepage to create a title/abstract page for a paper, and I don't want a page number to appear, so I use the following fragment:

\begin{titlepage}
\clearpage\thispagestyle{empty}
  \maketitle

\begin{abstract}

\end{abstract}

\end{titlepage}

inside a default article class. While the page number resets correctly (so the second page is labelled '1'), the page number '1' still appears on the first page. I'm sure there's some obvious mistake I'm making here, and would be grateful for some help.

Suresh
  • 16,511
  • 14
  • 55
  • 64
  • 6
    Short answer: Don't use \maketitle within a titlepage environment, see the discussion at http://tex.stackexchange.com/q/27543/4012. – doncherry Nov 01 '11 at 13:17

2 Answers2

179

\maketitle sets the page style to plain, so you need to move \thispagestyle{empty} to after \maketitle:

\clearpage\maketitle
\thispagestyle{empty}
doncherry
  • 54,637
imnothere
  • 14,215
  • 6
    that made the page start at page 2 for me. How do you get it to start at page 1 after the title page and contents page? – Magpie Jan 03 '13 at 09:47
  • 12
    @Magpie Did you use a \begin{titlepage}...\end{titlepage}? That titlepage environment would make the page numbering start at page 1 again after the title page. But anyway, if you're not using \begin{titlepage}...\end{titlepage}, a \setcounter{page}{1} after your \maketitle should do the trick – imnothere Jan 03 '13 at 13:30
  • 2
    +1 "\maketitle sets the page style to plain" was a lifesaver. – alfC Nov 19 '15 at 06:59
  • 1
    How to reset page number? Seems it starts from 2. – mathtick Nov 06 '21 at 12:28
  • 1
    It worked for me to simply reverse these: \thispagestyle{empty} \clearpage\maketitle – amc Mar 23 '22 at 12:23
16

Instead of using titlepage, you can use the environment titlingpage from the titling package. From its manual: "The pagestyle [of titlingpage] is empty; at the end it starts another ordinary page numbered page 1."

\documentclass{article}
\usepackage{titling,lipsum}
\title{This is title of my document}
\begin{document}
    \begin{titlingpage}
        \maketitle
        \begin{abstract}
            \lipsum[1]
        \end{abstract}
    \end{titlingpage}
\lipsum[1-10]
\end{document}
Sverre
  • 20,729