CTAN update: etoc
\etocskipfirstprefix may now appear anywhere in the part of a level style. New commands \etociffirst, \etocxiffirst, \etocxifnumbered. It is now possible to issue line style specifications directly with & and \\ tokens, in order to typeset a TOC as a tabular or longtable with the opening for example in the first argument of \etocsettocstyle and the closing in its second argument. It is mandatory for such uses to issue \etocglobaldefs which tells etoc to proceed globally for certain definitions. This is also useful in the context of the inline environments of package enumitem. On this occasion, various old parts of the code have been improved.
This package is located at http://mirror.ctan.org/macros/latex/contrib/etoc More information is at http://www.ctan.org/pkg/etoc We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Manfred Lotz
etoc – Completely customisable TOCs
The package gives the user complete control of how the entries of the table of contents should be constituted from the name, number, and page number of each sectioning unit. The layout is controlled by the definition of ‘line styles’ for each sectioning level used in the document.
The package provides its own custom line styles (which may be used as examples), and continues to support the standard formatting inherited from the LaTeX document classes, but the package can also allow the user to delegate the details to packages dealing with list making environments (such as enumitem). The package’s default global style typesets tables of contents in a multi-column format, with either a standard heading, or a ruled title (optionally with a frame around the table).
The \tableofcontents command may be used arbitrarily many times in the same document, while \localtableofcontents provides a ‘local’ table of contents.
|Copyright||2012–2023 Jean-François Burnol|
- 2023-01-16 CTAN update: etoc
- 2022-11-22 CTAN update: etoc
- 2022-11-19 CTAN update: etoc
- 2022-08-31 CTAN update: etoc
- 2021-09-24 CTAN update: etoc
- 2020-05-16 CTAN update: etoc
- 2019-11-18 CTAN Update: etoc
- 2019-03-11 CTAN Update: etoc