### 24.6.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.

| 24.6 Using macros to control table properties |  | 24.6.2 Adding space before tables |