I've made myself custom title-page, put it in separate .tex file and when I input it, it is numbered with 1. The very next page is numbered with 1 also, and page-number increases on the following pages. Main file looks like this



How do I suppress page-number on that title-page? (Why \thispagestyle{empty} doesn't work?) edit: Here's the title-page:


        % Upper part of the page
        \textsc{\large Uni}\\[0.1cm]
        \textsc{\Large Faculty}\\[2.8cm]
        \textsc{\Large Sensors}\\[0.1cm]
        {\Large Paper}\\[0.25cm] 

        % Title
        \HRule \\[0.3cm]
            { \Large \bfseries Occupancy}\\[0.3cm]
            { \huge \bfseries Tribos}\\[0.05cm]
        \HRule \\[0.05cm]

        % Author and supervisor
        \begin{center} \large
            An \textsc{Ant}
        % Bottom of the page
        {\large \today}

  • 43
    Did you try \pagestyle{empty}? Dec 18, 2010 at 18:56
  • 1
    @Yiannis Lazarides As a matter of fact, it actually did turn of page-numbering, but I was unable to return it afterwards.
    – user1996
    Dec 18, 2010 at 19:16
  • 5
    @everyone_with_same_problem: this fixed the problem - 1. add \pagenumbering{gobble} before title input 2. add \pagenumbering{arabic} after title input 3. add \pagestyle{empty} inside titlepage.tex. This could probably be generalized.
    – user1996
    Dec 18, 2010 at 19:32

5 Answers 5


You could use \pagenumbering{gobble} to switch off page numbering.

To switch it on afterwards, use \pagenumbering{arabic} for arabic numbers or alph, Alph, roman, or Roman for lowercase resp. uppercase alphabetic resp. Roman numbering.

  • 5
    I'm using \pagenumbering{gobble}, but I'm having some problems with "already used pagenumber", I'm getting the warning message destination with the same identifier (name{page.}) has been already used, duplicate ignored<to be read again>... and it seems to be complaining on the second page in the document. How can I fix that? I'm also using the hyperref package. Apr 26, 2013 at 13:50
  • 8
    After switching it on again, page numbering restarts at 1.
    – Matthias
    Feb 10, 2017 at 13:21
  • 3
    How about keeping the page numbering without displaying it, so if the first page has gobble then the second page has the number 2? And how about resetting page numbers?
    – Someone
    Apr 28, 2020 at 14:35
  • how to restart the numbering in numbers (1,2,3....) ?
    – sawan kt
    Jul 27, 2021 at 5:40
  • 1
    You can set the pagenumbering again with \setcounter{page}{5}
    – GURKE
    Feb 28 at 8:09

I had the exact same problem. What worked for me was \thispagestyle{empty} after inputting the title page, not before.

  • 11
    This will remove both the header and footer and page numbering.
    – Werner
    Jul 18, 2014 at 17:28
  • 5
    Which is what is required. Jun 22, 2015 at 20:28
  • 2
    The utter simplicity of this answer is a point in its favor, even if there are contexts where the other answers are preferable.
    – Mars
    Jan 2, 2018 at 22:40
  • 1
    I'm using LaTeX for a resume, which is one page long. This is the only answer that gets rid of the page number without including another blank page after. Jun 20, 2018 at 21:19

Maybe try to enclose your title page (or the input file) into a \begin{titlepage} and \end{titlepage}; and put \pagenumbering{arabic} just before your main body starts.

  • Thanks, that’s literally all that’s needed, and helped me. Commit
    – mirabilos
    Nov 15, 2014 at 18:50
  • +1. This one slipped passed me ...
    – ajrlewis
    Jul 18, 2019 at 23:21

worked for me.

  • 7
    And what does "worked for me" mean? That could be all or nothing ... Can you please explain?
    – Mensch
    Jan 7, 2015 at 17:17
  • 6
    It should be noted that titlepages are empty by default.
    – Johannes_B
    Apr 21, 2015 at 10:17
  • 4
    It should probably be noted that \maketitle within the titlepage environment is wrong and the \newpage is not needed.
    – Johannes_B
    Aug 12, 2017 at 12:28

Yiannis Lazarides' comment deserves its own answer: Start with


before the title page material and

\pagestyle{plain}  % or whatever page style you desire

after the title page material.

  • The original query was about suppressing the display of the page number on a specific page -- the title page, to be exact -- while not affecting the display of page numbers on other pages. Please clarify in which sense your posting addresses this objective.
    – Mico
    Feb 10, 2020 at 6:46
  • @Mico Or the original query was about suppressing the display of the page number on a specific subdocument, which makes this answer relevant. As a matter of fact, according to his own comment OP's fix was to actually combine the accepted answer with this one. But if you feel it requires clarification, feel free to edit it, it's community wiki. ;) Feb 11, 2020 at 13:44
  • I suppose that it's not entirely wrong to call the titlepage of a document a "sub-document". :-) (That's not the term the OP used, though...) I've taken you up on the offer to apply some edits to your answer.
    – Mico
    Feb 11, 2020 at 13:54
  • Since OP specified the titlepage had its own .tex file, I guess it's technically correct at least server-side… Feb 11, 2020 at 14:02