TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
4  
Short answer: Don't use \maketitle within a titlepage environment, see the discussion at tex.stackexchange.com/q/27543/4012. – doncherry Nov 1 '11 at 13:17
up vote 75 down vote accepted

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

\clearpage\maketitle
\thispagestyle{empty}
share|improve this answer
    
yes. that works great. thanks ! – Suresh Aug 15 '10 at 6:55
1  
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 3 '13 at 9:47
3  
@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 – LianTze Lim Jan 3 '13 at 13:30
    
+1 "\maketitle sets the page style to plain" was a lifesaver. – alfC Nov 19 '15 at 6:59

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}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
http://tex.stackexchange.com/questions/1736/removing-page-number-for-title-page
tex.stackexchange.com
crawl=CC-MAIN-2016-18
81344
application/http; msgtype=response
sha1:PRUPHNTAKPYOLGQINU4P7HW5KVNTS6XM
<urn:uuid:deea93e2-abc9-43d4-85fe-a42ba24963f6>
2016-05-04T23:34:23Z
104.16.115.182
sha1:TTRKOOVGJSBFAU53GJLUKJ7XU637YVWF
<urn:uuid:4e31189d-2b58-4ce3-84d9-2b39dc79d813>
http://tex.stackexchange.com/questions/1736/removing-page-number-for-title-page
response
<urn:uuid:7ff3acb6-1269-49f8-8d76-d7101e070263>
robots: classic
hostname: ip-10-239-7-51.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2016-18
operator: CommonCrawl Admin
description: Wide crawl of the web for April 2016
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf