.tc heading command

The .tc heading command substitutes the heading text as the header for the table of contents pages.

Syntax

.tc heading "{{text} {’options’}...}"

Synonym(s)

.tch

Parameter(s)

text Text to display the header in the table of contents.
options '' Outputs a single quotation mark.
'attr.name' Inserts the value of attribute name. Processes any conversion codes, but not correlatives in the ADI.
b Inserts the attribute name causing the break if the b option has been specified with the roll-on command.
c Centers the output line.
d Retrieves the current date (dd mmm yyyy format).
f{n} Inserts the file name in a field of n spaces.
j Right-aligns the rest of the line.
l Issues a CR/LF.
n Prevents the pause at the end of each page (such as the nopage modifier).
p Retrieves the current page number, right-aligned in a field of four spaces.
p{n} Retrieves the page number, right-aligned in a field of n spaces. (Default n=4).
r Retrieves the Roman numeral page number.
s Toggles on italics mode.
t Retrieves the current time and date (hh:mm:ss dd mmm yyyy format).
u Toggles on underline mode.
v Toggles on boldface mode.
xc Used with the c option to center a segment. The xc delimits the end of the segment.
xs Toggles off italics mode.
xu Toggles off underline mode.
xv Toggles off boldface mode.

Example(s)

.tc heading "’lc’The D3 Encyclopedia’l’"