Take the 2-minute tour ×
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.

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

CHAPTER ONE not CHAPTER 1;

CHAPTER THIRTEEN not CHAPTER 13.

share|improve this question

migrated from stackoverflow.com Sep 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

3 Answers 3

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

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

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

A longer answer requires more information from you, that you can add to your question.

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).

share|improve this answer
    
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
2  
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.

share|improve this answer
    
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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.
http://tex.stackexchange.com/questions/29568/how-to-change-the-chapter-number-to-display-as-text-one-two
tex.stackexchange.com
crawl=CC-MAIN-2014-42
81585
application/http; msgtype=response
sha1:WV2FPM4HIIVFNX6FPN4ZSOXWMXPVFZQB
<urn:uuid:0aecd467-13bf-4bd8-a7e9-fd08039a041c>
2014-10-24T13:13:11Z
198.252.206.16
sha1:6JT3Y4AHPTMJTLNJWKPD6I76KKJHOUYC
<urn:uuid:c44e13ca-5b4e-43d6-ad42-8c16ef45789d>
http://tex.stackexchange.com/questions/29568/how-to-change-the-chapter-number-to-display-as-text-one-two
response
<urn:uuid:eec65f25-a21f-405b-8401-094b7386a418>
robots: classic
hostname: ip-10-16-133-185.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-42
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for October 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf