Previous: @caption
& @shortcaption
, Up: Floats [Contents][Index]
@listoffloats
: Tables of Contents for FloatsYou can write a @listoffloats
command to generate a list of
floats for a given float type (see @float
[type][,label]: Floating Material), analogous to
the document’s overall table of contents. Typically, it is written in
its own @unnumbered
node to provide a heading and structure,
rather like @printindex
(see Printing Indices and Menus).
@listoffloats
takes one optional argument, the float type.
Here’s an example:
@node List of Figures @unnumbered List of Figures @listoffloats Figure
And here’s what the output from @listoffloats
looks like, given the example figure earlier in this chapter (the Info
output is formatted as a menu):
Without any argument, @listoffloats
generates a list of floats
for which no float type was specified, i.e., no first argument to the
@float
command (see @float
[type][,label]: Floating Material).
Each line in the list of floats contains the float type (if any),
the float number, and the caption, if any—the @shortcaption
argument, if it was specified, else the @caption
argument.
In Info, the result is a menu where each float can be selected. In
HTML, each line is a link to the float. In printed output, the page
number is included.
Unnumbered floats (those without cross-reference labels) are omitted from the list of floats.