Defining levels in your document – HP Integrity NonStop H-Series User Manual
Page 280
Defining Levels in Your Document
Using Special TFORM Features
11–12
058060 Tandem Computers Incorporated
Defining Levels in
Your Document
TFORM provides an easy way for you to define sections within your
document by separating them with specific headings. These headings can
range from chapter titles to paragraph subheadings. The different types of
headings are called levels.
There are eleven possible level headings. Level 0 is usually used for chapter
titles or other major divisions. Level 10 is rarely, if ever, used. In most
cases, you’ll probably use no more than three or four levels in a document.
Entering Level Headings
To define a level, enter the LEVEL command followed by the text you want
in the heading. When creating a level-0 heading, you enter the text as a
title. Just as in header and footer titles, a title consists of three fields
separated by vertical bars. The title is enclosed in quotation marks. For
example:
\LEVEL 0 "SECTION|11|THE EDITING PROCESS"
\LEVEL 0 "CHAPTER|14|CREATING GRAPHICS"
\LEVEL 0 "APPENDIX|A|A SUMMARY OF BASICS"
The first field defines
the section, chapter,
appendix, and so on.
The third field
contains the text.
The second field contains
an identifying number,
letter, or Roman numeral.
For levels 1 through 10, simply enclose the text in quotation marks. The
following are some examples of level entries:
\LEVEL 1 "Introduction"
\LEVEL 2 "Editing for Style"
\LEVEL 3 "Punctuation"
Note
TFORM stores the text you enter in level headings as a special variable that you can
reference. For example, you might want to use your level headings as headers or footers in
the document. See the PS TEXT FORMAT Reference Manual for information on using
variables.