UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: .TBChapter 13
mm Macros
Next: Reference: .TE
 

.TC

.TC [slevel] [spacing] [tlevel] [tab] [head1] ...

Generate table of contents in format specified by arguments. The levels of headings that are saved for table of contents are determined by setting the Cl register.

slevel sets the levels of headings that have spacing before them. spacing sets the amount of spacing. Default is 1; first-level headings have a blank line before them.

tlevel and tab affect the location of the page number. Heading levels less than or equal to tlevel are output with page numbers at the right margin; otherwise, the heading and page number are separated by two spaces. If page numbers are at the right margin, and if tab is 0, a leader is output using dots; otherwise, spaces are used.


Previous: Reference: .TBUNIX in a Nutshell: System V EditionNext: Reference: .TE
Reference: .TBBook IndexReference: .TE

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System