TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

To show all chapter numbers as Roman numerals, I’m using


The fourth chapter, for instance, is therefore “Chapter IV” everywhere.

Is it possible to show the numbers as Arabic numerals only when referencing to chapters using \ref{...}?

Using the example above, \ref{chapter-four} would result in “Chapter 4” instead of “Chapter IV.”

share|improve this question
up vote 5 down vote accepted

Patching \@makechapterhead to print \Roman{chapter} instead of \thechapter allows you to have chapter headings formatting with Roman numerals yet have references inside your text to still be Arabic:

enter image description here

\usepackage{etoolbox}% http://ctan.org/pkg/etoolbox
\patchcmd{\@makechapterhead}% <cmd>
  {\thechapter}% <search>
  {\Roman{chapter}}% <replace>
  {}{}% <success><failure>
\chapter{A chapter}\label{chap-label}
See Chapter~\ref{chap-label}.

Note that numbering inside your ToC will also be Arabic. To change this, a patch to \@chapter is required (also wrapped inside a \makeatletter-\makeatother-pair):

\patchcmd{\@chapter}% <cmd>
  {\numberline{\thechapter}}% <search>
  {\numberline{\Roman{chapter}}}% <replace>
  {}{}% <success><failure>
share|improve this answer

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.