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
sets the levels of headings that will have spacing before them.
sets the amount of spacing.
Default is 1; first-level headings have a blank line before them.
affect location of page number. Heading levels less than or equal to
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
is 0, a leader will be output
using dots; otherwise, spaces are used.