New on CTAN: etoc
The etoc package gives the user complete control on how the entries of the table of contents should be constituted from the name, number, and page number of each sectioning unit. This goes via the definition of line styles for each sectioning level used in the document. The package provides its own custom line styles as an example, next to the standard formatting inherited from the LaTeX document classes. But the idea is to give the means to the user to delegate the details to packages dealing with list making environments (such as enumitem). Regarding the global style, etoc typesets by default tables of contents in a multi-column format, with either a standard heading, or a ruled title, optionally with a frame around the table of contents. The \tableofcontents command can be used arbitrarily many times in the same document, and comes with a starred variant which gives local table of contents.
This package is located at http://mirror.ctan.org/macros/latex/contrib/etoc . More information is at http://www.ctan.org/pkg/etoc (if the package is new it may take a day for that information to appear). 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 Rainer Schöpf
etoc – Completely customisable TOCs
With etoc loaded, \tableofcontents can be used multiple times, and an added command \localtableofcontents allows to typeset “local” tables of contents, i.e. TOCs having their scope limited to the last sectioning command encountered. Since release 1.2, also \locallistoffigures and \locallistoftables are available.
Loading etoc per itself does not modify the “contents lines” inherited from the class default or changed via other packages. But full usage of the package allows spectacular effects such as displaying TOCs as trees or mind maps.
|Copyright||2012–2023 Jean-François Burnol|
- 2023-10-30 CTAN update: etoc
- 2023-05-01 CTAN update: etoc
- 2023-03-03 CTAN update: etoc
- 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