Chapter Numbering: c0 counter

 

The c0 counter is reserved for chapter numbering.  Commands to display the current chapter number look specifically for c0. The Set Record Number Command and the Reference Chapter command depend upon the c0 command.  

 

To number chapters, you follow the same process as you would for inserting any numbered list. (See Numbered Lists). First you use the Define Counter command (dc) at the beginning of the document to establish the style and starting value of the numbers that you want to use. Then you use the c0 counter command to insert the automatic numbers.

 

For example, to insert chapter numbers using roman numerals:

 

1Move the cursor to the top of the document (Ctrl+Home).
2Press F9 to access the action line.
3Type dc 0=I
4Press F10 to define the counter.
5Move the cursor to the beginning of the chapter title.
6Press F9 to access the action line.
7Type c0
8Press F10 to number the first chapter.
9Repeat Steps 5 - 7 for each chapter title. If c0 is still on the action line, you don't need to retype it. Just press F10.

The first chapter will be numbered I, the second II, and so on. Chapter numbering works even if your chapters are separate files. Be sure to include your dc 0=I only in the first chapter.  See Manuscript Files.  If you want your chapters to number individually when viewed or printed apart from other chapters and to print consecutively when printed as a group you would type dc 0=?I in step 3.

 

The c0 command also enables you to number pages in a chapter page format.  To do so:

 

1Define the c0 counter as described above
2Create a running header or footer. (See Headers and Footers)
3Press F9, type c0, then press F10.
4Enter a hyphen
5Press F9, type pn, then press F10.

This will give you a page number that looks like: II-12 if you had defined your chapters as Roman numerals.

 

 

See also:

Page Numbering: SP and PG commands