Directory macros/latex/contrib/tocdata
The tocdata package. Adds names to table of contents / list of figures entries. v2.07 Copyright 2016–2024 Brian Dunn — https://github.com/bdtc/tocdata LaTeX Project Public License, version 1.3 Summary: The tocdata package may be used to add a small amount of data to an entry in the table of contents or list of figures, between the section or caption name and the page number. The typical use would be to add the name of an author or artist of a chapter or section, such as in an anthology or a collection of papers. Additionally, user-level macros are provided which add the author's name to a chapter or section, along with an optional prefix and/or suffix, and add to a figure the artist's name, prefix, and suffix, plus optional additional text. Author and artist names are also added to the index. Additional user-level macros control formatting. Requirements: Tocdata may be used with, but does not require, either the titletoc package or the tocloft package. Alternatives: Tocdata places onto a single line the chapter/section name, author/artist name, and page number. Numerous other methods are available for adding names to the TOC, but these usually place the chapter/section name and page number onto one line, with the additional information on another line. These methods would be preferable, and often required, if you wish to place a lot of information in the TOC, or have long chapter or section names.
Download the contents of this package in one zip archive (938.1k).
tocdata – Adds names to chapters, sections, figures in the TOC and LOF
The tocdata package may be used to add a small amount of data to an entry in the table of contents or list of figures, between the section or caption name and the page number. The typical use would be to add the name of an author or artist of a chapter or section, such as in an anthology or a collection of papers.
Additionally, user-level macros are provided which add the author’s name to a chapter or section, along with an optional prefix and/or suffix, and add to a figure the artist’s name, prefix, and suffix, plus optional additional text. Author and artist names are also added to the index. Additional user-level macros control formatting.
tocdata works with the TOC/LOF formatting of the default LaTeX classes, memoir, koma-script, and with titletoc, tocloft, tocbasic, and tocstyle.
Package | tocdata |
Bug tracker | https://github.com/bdtc/tocdata |
Version | 2.07 2024-01-20 |
Licenses | The LaTeX Project Public License 1.3 |
Copyright | 2016–2024 Brian Dunn |
Maintainer | Brian Dunn |
Contained in | TeX Live as tocdata MiKTeX as tocdata |
Topics | TOC etc |