Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog
To add a title, use the title attribute of the import macro. For example:
!import "growth"; title="Predicted Growth"
Occasionally, it is useful to label a source code example or ASCII graphic with a title. To do this, use the FT (Figure Title) paragraph style. For example:
FT: Source code for main.c !include "main.c"; example; lang='C'
A list of figures can be generated from the figure titles. To do this, set the DOC_LOF variable. For example:
# Build the title !define DOC_NAME "World Peace in 60 Days" !define DOC_LOF !build_title
This will generate a list of figures after the table of contents.
The default title for the list of figures is "List of Figures". To change this, set the DOC_LOF_TITLE. For example:
!define DOC_LOF_TITLE "Figures"
Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog