op.chapter

Command/Output Processor: Commands, Releases: AP

Sets chapter formatting and provides automatic chapter numbering.

Syntax

.chapter {text} .ch {text}

Description

starts a new chapter

Chapters start on new pages and the chapter counter is incremented. The literal, 'Chapter' followed by the optional text is printed centered between the current margins.

The chapter, page number, and text are accumulated for the table of contents.

Example

.chapter
Update processor
.chapter
Output processor
.chapter

The output of this document is :

Chapter 1
Update processor

(page eject)
Chapter 2
Output processor

(page eject)
Chapter 3

See Also

Command Name Type Description
op.commands Definition Summary of OP commands.
op.ch Command see 'chapter'.
op.set.section Command Sets options for section headings.
op.print.toc Command Prints Table of Contents.
op.set.chapter Command Sets options for chapter headings.
op.print.ptoc Command Prints partial Table of Contents.
op Introductory Text formatting

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.