| 1 |
The tocdata package. |
| 2 |
Adds names to table of contents / list of figures entries. |
| 3 |
|
| 4 |
v2.07 |
| 5 |
Copyright 2016–2024 Brian Dunn — https://github.com/bdtc/tocdata |
| 6 |
LaTeX Project Public License, version 1.3 |
| 7 |
|
| 8 |
|
| 9 |
Summary: |
| 10 |
|
| 11 |
The tocdata package may be used to add a small amount of data to an entry |
| 12 |
in the table of contents or list of figures, between the section or caption |
| 13 |
name and the page number. The typical use would be to add the name of an |
| 14 |
author or artist of a chapter or section, such as in an anthology or a |
| 15 |
collection of papers. |
| 16 |
|
| 17 |
Additionally, user-level macros are provided which add the author's |
| 18 |
name to a chapter or section, along with an optional prefix and/or |
| 19 |
suffix, and add to a figure the artist's name, prefix, and suffix, |
| 20 |
plus optional additional text. Author and artist names are also |
| 21 |
added to the index. Additional user-level macros control formatting. |
| 22 |
|
| 23 |
|
| 24 |
Requirements: |
| 25 |
|
| 26 |
Tocdata may be used with, but does not require, either the titletoc package |
| 27 |
or the tocloft package. |
| 28 |
|
| 29 |
|
| 30 |
Alternatives: |
| 31 |
|
| 32 |
Tocdata places onto a single line the chapter/section name, author/artist |
| 33 |
name, and page number. Numerous other methods are available for adding |
| 34 |
names to the TOC, but these usually place the chapter/section name and |
| 35 |
page number onto one line, with the additional information on another line. |
| 36 |
These methods would be preferable, and often required, if you wish |
| 37 |
to place a lot of information in the TOC, or have long chapter or |
| 38 |
section names. |