BD Tech Concepts LLC
LaTeX tocdata package
Anthologies may be printed with the author alongside each title in the table of contents. Many commonly-recommended methods for doing this with LaTeX place the author above or below the title and page number, but seldom on the same line.
The tocdata package provides some basic infrastructure to help add some information to a line in the table of contents.
This function requires the use of either the titletoc or tocloft packages.
Additionally, user-level macros are provided which add the author’s name to a chapter or section, and add the artist’s name and optional additional text to a figure. Author and artist names are also added to the index.
tocdata works with the TOC/LOF formatting of the default LaTeX classes, memoir, koma-script, and with titletoc, tocloft, tocbasic, and tocstyle.
Latest News
- v2.03:
-
Fix for starred sections, supports additional classes and packages.
- v2.02:
-
Fix for section name formatting.
- v2.01:
-
Fix for LaTeX core section entries.
- v2.00:
-
Adds custom float types and float authors.
- v0.12:
-
Adds improved spacing, improved paragraph handling, and optional text alignment.
Download
Download the tocdata package from the tocdata page on CTAN — the Comprehensive TeX Archive Network, or use your TeX distribution’s update tools.
The tocdata v2.03 manual is also available here.