Text FormattingSet page numbering of the TOC

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Kariddi
Posts: 1
Joined: Wed Dec 28, 2011 2:14 pm

Set page numbering of the TOC

Post by Kariddi »

Hi, I want to set the page numbering for my toc as ROMAN and use ARABIC for the rest of the document, starting from 1 after the toc , but I can't happen to be able to do so.

What I do is this :

Code: Select all

\documentclass[a4paper,titlepage]{report}
 % define the title
 \author{Marcello Maggioni}
 \title{Thesis}
 \begin{document}
 \maketitle
 \pagenumbering{roman}
 \tableofcontents
 \pagenumbering{arabic}
\setcounter{page}{1}
 \chapter{fico}
 Ciao

 \end{document}
This is a very minimal test case, but what happens is that the TOC has arabic page numbers like the rest of the document.

How can I make my TOC have roman numbers?

Thanks

Marcello

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Set page numbering of the TOC

Post by Stefan Kottwitz »

Hi Marcello,

welcome to the board!

Just use \clearpage after \tableofcontents, for breaking the page before you change to numbering. So the table of contents would not be affected.

Code: Select all

\pagenumbering{roman}
\tableofcontents
\clearpage
\pagenumbering{arabic}
Stefan
LaTeX.org admin
Post Reply