[OS X TeX] formatting table of contents

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Thu May 21 19:01:18 CEST 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

Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20200521/50abd687/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list.