Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog
To add a title, use the title attribute. For example:
!block table; title="Phone numbers of good friends" Name Phone Bill 123 4567 Joe 789 1234 Mary 584 3333 !endblock
The output is:
Name | Phone |
Bill | 123 4567 |
Joe | 789 1234 |
Mary | 584 3333 |
Occasionally, it is useful to title a table by hand. To do this, use the TT (Table Title) paragraph style. For example:
TT: My Boring Looking Table !include "my_table.txt"; example; wide
A list of tables can be generated from the table titles. To do this, set the DOC_LOT variable. For example:
# Build the title !define DOC_NAME "World Peace in 60 Days" !define DOC_LOT !build_title
This will generate a list of tables after the table of contents.
The default title for the list of tables is "List of Tables". To change this, set the DOC_LOT_TITLE. For example:
!define DOC_LOT_TITLE "Tables"
Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog