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

4 Answers 4

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
    
Support of 99,999 chapters is more than enough, after all, some novels are only about 30,000 words. Even if every word were in a chapter to itself, it wouldn't break –  user12711 Feb 12 at 19:41

The memoir documentclass provides this by default for some of the chapter styles. Consider reading the documentation; specifically section 6.5.1. Defining 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
1  
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

As a LaTeX user who understands the basic concepts: the scripting structure, packages, classes and distribution options, but gets blown away by the complexity of nested macros to try to do accomplish something profoundly simply, I'm going to try a practical solution that might just be the easiest of them all.

TRY THIS: I've got a novel writing project, and currently plan to use \chapter to hold the title, for example, "Escape from Daldran" and then I'm going to immediately follow the first chapter with a \section that I'll title "CHAPTER ONE," the second \chapter will follow with a \section titled "CHAPTER TWO" etc.

I'll use the fancyhdr package to put page numbers on the bottom of regular pages. For the headers will use smallcaps only.

THIS IS HOW IT WORKS: on even pages I'll use the SECTION TITLE (which I loaded with the chapter number) for instance "CHAPTER TWELVE" and on odd pages will use the Chapter Title, for example "THE DESERTED FORTRESS"

Numberals look too technical for literary fiction, but great for a textbook and most nonfiction. So LaTeX is the way to go, but for Literary works, (Novels and literary Non-Fiction) I really wish some packages would have extra options built in to automatically use "words" rather than "numbers" In a truly literary work, you don't want any numerals or vector graphics, just fonts. Even asterisks for lines. That's literary!

Unless you programmatically deal with LaTeX, or take a deep breath and use some uncommon solutions that'd irk your physics professor, everything it spits out looks like it's written for a textbook publication, or an academician to read.

The Literary Community need some extra package options for LaTeX, like fancyhdr, to have a few simple literary options added. Then, LaTeX would really explode into usage by CreateSpace and Lulu self publishers. But, perhaps the LaTeX community doesn't want to rock any business boats, and stick with being a useful tool academia only. So, if you know a LaTeX programmer-contributor, please ask them to add a few options to some common packages for us, please.

share|improve this answer
    
This does not constitute an answer to the question. –  Werner Feb 12 at 20:48
    
QUESTION "How to change the chapter number to display as text (One, Two, …)?" ANSWER: type "One" or "Two" etc as a \section title, immediately following \chapter. It works perfectly for literary novel projects that aren't heavily enumerated. –  user12711 Feb 12 at 21:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.