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 is determined by setting the Cl register.

slevel sets the levels of headings that will 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 location of page number. Heading levels less than or equal to tlevel are output with page numbers at right margin; otherwise, heading and page number are separated by two spaces. If page numbers are at right margin, and if tab is 0, a leader will be 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