Page LayoutRoman chapter numbers

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
jonathan webley
Posts: 11
Joined: Sun May 03, 2009 8:28 am

Roman chapter numbers

Post by jonathan webley »

I would like chapter numbers to be in roman numerals - I, II, etc. However, in the autogenerated table of contents the space for the chapter numbers is not big enough and the larger numbers (VIII) overwrite the chapter name. Is there any way of increasing the space for the numbers?

Code: Select all

\documentclass{book}
\renewcommand{\thechapter}{\Roman{chapter}}
\begin{document}
\tableofcontents
\chapter{One}
\chapter{Two}
\chapter{Three}
\chapter{Four}
\chapter{Five}
\chapter{Six}
\chapter{Seven}
\chapter{Eight}
\end{document}

Recommended reading 2024:

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

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

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Roman chapter numbers

Post by josephwright »

Joseph Wright
jonathan webley
Posts: 11
Joined: Sun May 03, 2009 8:28 am

Roman chapter numbers

Post by jonathan webley »

Thanks for pointing me in the right direction. I've worked out that I need to add:

Code: Select all

\setlength\cftchapternumwidth{3em}
and that works fine.
Post Reply