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.