# How to change the chapter number to display as text (One, Two, …)?

In LaTeX, how do I change the chapter number to display as text? eg:

CHAPTER ONE not CHAPTER 1;

CHAPTER THIRTEEN not CHAPTER 13.

-

## migrated from stackoverflow.comSep 26 '11 at 16:03

This question came from our site for professional and enthusiast programmers.

Related question: Convert any number to corresponding word –  diabonas Sep 26 '11 at 16:15
Welcome to TeX.sx! Your question was migrated here from StackOverflow. Please register on this site, too, and make sure that both accounts are associated with each other, otherwise you won't be able to comment on or accept answers or edit your question. –  Werner Sep 26 '11 at 19:49

Short answer: put the following code before \begin{document}.

\usepackage{fmtcount,etoolbox}
\makeatletter
\patchcmd{\chaptermark}{\thechapter}{\NUMBERstring{chapter}}{}{}
\makeatother


Change \Numberstring into \numberstring if you don't want the number name capitalized.

A quick solution would be also

\usepackage{fmtcount}
\renewcommand{\thechapter}{\Numberstring{chapter}}


but this will have some consequences on the typesetting of the Table of Contents (but also of headers). Choosing a strategy depends on the actual needs (and also on the class used).

-
If you have more than 100,000 chapters, this will break. This isn't a huge problem, I don't think. But it is a limitation in fmtcount. –  Seamus Nov 3 '11 at 8:47
Quite a big book it would be. :) Also my package for spelling out numbers in Italian (fmtcount's support for Italian is very buggy) has a limitation to 9999 for cardinal numbers and to 999 for ordinals. But one can survive it, I believe. –  egreg Nov 3 '11 at 14:10
@egreg : How can I use your short answer (not the quick solution) with parts instead of chapters? –  ClintEastwood Jun 12 '13 at 20:28
@ClintEastwood For parts I would go with redefining \thepart –  egreg Jun 12 '13 at 20:32

The memoir documentclass provides this by default for some of the chapter styles. Consider reading the documentation; specifically section 6.5.1. Deﬁning a chapter style (p 83).

Alternatively, also view some of the self-created code on Vincent Zoonekynd's LaTeX page for Chapters.

-
The numname package takes the code from the memoir class and makes it available separately. The documentation is non-existent, but see this answer for details. –  Seamus Nov 3 '11 at 8:49

You can also try fncychap package.

-