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

here it is my document





what it happens is that tableofcontents receives arabic numbering and I don't get roman numbering

share|improve this question
Please always post complete small documents that reproduce the problem. – David Carlisle Nov 15 '12 at 21:20
up vote 4 down vote accepted

The page number form is used that is active, when the page is output. Thus when \pagenumbering{arabic} is called, the page of the table of contents is not yet output. Add something like \newpage to start a new page, e.g.:


If you are using document class book or similar consider using \frontmatter and \mainmatter.

share|improve this answer
Since I'm using book class I resolved using \frontmatter and \mainmatter. – Mazzy Nov 15 '12 at 21:28
I resolved the problem putting \mainmatter before first chapter and pagenumbering{roman} before tableofcontents right? – Mazzy Nov 15 '12 at 21:31
@Mazzy Or \frontmatter. Internally it also uses \cleardoublepage with \pagenumbering{roman}. – Heiko Oberdiek Nov 15 '12 at 21:35
I got this problem... I have the first six pages of my class book belonging to frontmatter section. I would they have no numbers. I would numbering using roman numbers beginning tables of contents.HOw can I do? – Mazzy Nov 15 '12 at 21:38
@Mazzy You could switch the page style \pagestyle{empty} for the first pages and using \frontmatter afterwards, or ... – Heiko Oberdiek Nov 15 '12 at 21:54

Your Answer


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.