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.com Sep 26 '11 at 16:03
This question came from our site for professional and enthusiast programmers.
Short answer: put the following code before
A longer answer requires more information from you, that you can add to your question.
A quick solution would be also
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).
Alternatively, also view some of the self-created code on Vincent Zoonekynd's LaTeX page for Chapters.
I have seen there are other, perhaps smarter answers. BUt I spent quite some time on making this work, so I really wanted to post it. THis allows to convert any number from digits to English words, provided it has absolute value strictly less than a billion. This means it is more powerful than
This provides a compilable example, which shows numbers from one million to one million, one thousand, printed as a numbered list. After typesetting one hundred and twenty-three million, four hundred and fifty-six thousand, seven hundred and eighty-nine on a line by itself. The important macros are
Of course, it must be wrapped in
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.