[OS X TeX] formatting table of contents

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Thu May 21 13:01:18 EDT 2020


The command \tableofcontents in the article document class generates a list in which all entries (whether for section, subsection, etc) are lined up flush left.
There is some information on pp. 50-52 of the Latex Companion explaining how to reformat this, but I am loathe to mess with this kind of metadata, especially when I haven’t absorbed what all the parts mean; besides, this section doesn’t explain (at least not to me) where and how the commands like
\l at section are placed (and I presume if I am specifying, then it is \renewcommand, not \newcommand?).

Is there an option, either in the documentclass specification or in the \tableofcontents command, which automatically tells the table of contents to print various levels of sectioning at varying indentations (I don’t need to specify them myself)?

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

telephones:
Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966
http://www.tufts.edu/~znitecki/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20200521/50abd687/attachment.htm>


More information about the MacOSX-TeX mailing list