PS TEXT FORMAT Reference Manual

Introduction to TFORM
11387 Tandem Computers Incorporated 3–81
Table 3-3. LEVEL CONTENTS Default Values
LEVEL CONTENTS ON
LEVEL CONTENTS 4
LEVEL CONTENTS INDENT 0 0 3 5 7 9 11 13 15 17 19
LEVEL CONTENTS LINES 1 0 0 0 0 0 0 0 0 0 0
LEVEL CONTENTS PAGESTRING “"
These defaults tell TFORM to:
Include all section headings from levels (0 through 4) in the
table of contents
Include level 4 headings as the lowest level of heading in the
table of contents
Aligns level 0 headings on the left margin and increases the
indents on each succeeding head by 2 characters
Insert one blank line before each level 0 heading and single
space all others
Print page numbers without any preceding string
LEVEL REFERENCE Option
The LEVEL REFERENCE commands let you save the current section
heading number in a variable so that you can refer to it later. LEVEL
REFERENCE SEC_NUM, for example, saves the current section
number in the variable SEC_NUM. If you include the second, optional
variable PAGE_NUM, TFORM saves the current page number in that
variable (for example, LEVEL REFERENCE SEC_NUM PAGE_NUM).
Later, you can include in your text a reference something like
...see Section \(SEC_NUM\), page \(PAGE_NUM\), for details...
and TFORM inserts the saved strings. Note that you can only have
references that refer back to items previously saved by LEVEL
REFERENCE commands.