CTAN Comprehensive TeX Archive Network

CTAN Update: etoc

Date: November 25, 2012 12:22:20 PM CET
Jean-François Burnol submitted an update to the etoc package. Summary description: easily customizable TOCs License type: lppl Announcement text:
1.04 The main new feature is support for \label and \ref: I. \tableofcontents \label{toc:A} or \tableofcontents* \label{toc:A} creates a label toc:A as usual (the starred form gives a `local' table of contents). II. Elsewhere in the document, \tableofcontents \ref{toc:A} will re-display the contents of the TOC with label toc:A (the \ref is detected and swallowed by \tableofcontents). III. One can also do \tableofcontents \label{toc:B} \ref{toc:A} Then \ref{toc:B} may be used elsewhere in the document to refer to this toc:B location (it just prints the number of the concerned TOC, but is of course an hyperlink if package hyperref has been loaded). The two TOCs with labels toc:A and toc:B will have the same contents but their layouts and titles are decided locally and may differ completely from one another.
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.

Version1.2b 2023-07-01
Copyright2012–2023 Jean-François Burnol
MaintainerJean-François Burnol



Guest Book Sitemap Contact Contact Author