#### 33.5.1 Invoking macros around tables

You can specify macros to be invoked before, after, or in place of any table or group of tables, by assigning macros to a TableID in one of the [Table*Macros] sections:

    [TableBeforeMacros]
    ; TableID = macro to put before table start, top title or indent

    [TableStartMacros]
    ; TableID = macro to put after <table> tag before first <tr>
    ; This is where a set of custom <colgroup> elements would go.

    [TableReplaceMacros]
    ; TableID = macro to use in place of table (and title and indent)

    [TableEndMacros]
    ; TableID = macro to put just before </table>

    [TableAfterMacros]
    ; TableID = macro to put after table end or bottom title

When you specify a macro or other HTML code to replace a table, any Before, Start, End, or After code or macro you assigned to that table in one of the other [Table...Macros] sections is not used.

Previous Topic: 33.5 Using macros to control table properties

Next Topic: 33.5.2 Adding space before tables

Parent Topic: 33.5 Using macros to control table properties

Sibling Topics:

33.5.2 Adding space before tables

33.5.3 Adjusting space after tables

33.5.4 Turning processing on and off around selected tables

33.5.5 Specifying row-group, row, and cell attributes with macros

33.5.6 Capturing table row and column counts with variables

33.5.7 Selectively modifying table text with macros: an example