GeneralRemoving the page number from table of contents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Shukie
Posts: 8
Joined: Fri Dec 14, 2007 6:19 am

Removing the page number from table of contents

Post by Shukie »

When I include a table of contents, that page will be number 1 and it will start counting from there. Is there a way to remove that page number and in fact make the page-counting start at the next page?

Just to clarify, right now it's like this:

Page 1 - Table of contents
Page 2 - Introduction
Page 3 - Blabla

And I want to have this;

Table of contents
Page 1 - Introduction
Page 2 - Blabla

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Removing the page number from table of contents

Post by Juanjo »

I assume that you are using the article class and that you want a title page and an unnumbered TOC page. The following code may work:

Code: Select all

\documentclass[titlepage]{article}

\begin{document}

% Titlepage
\author{Author's name}
\title{Title}
\date{\today}
\maketitle

% TOC
\thispagestyle{empty}
\setcounter{page}{0}
\tableofcontents
\clearpage

% Text
\section{Introduction}
Blah blah

\section{Other section}
Blah blah

\end{document}
Shukie
Posts: 8
Joined: Fri Dec 14, 2007 6:19 am

Re: Removing the page number from table of contents

Post by Shukie »

Thanks a ton, that did the trick :)

The only thing was that I had to put the \thispagestyle{empty} command below \tableofcontents, otherwise it didn't work.
Post Reply