Macro Language Reference > PIs > Tables > <?tbfootc>
  
<?tbfootc>
Description
Used to indicate the beginning and end of the table column footers, which cause text to be repeated at the bottom of each individual column/cell when they overflow. Only works when <?tbovflow=3> is set and the table is working in slim/flow mode.
Multiple levels of column footers are permitted, by using several <?tbfootc> commands and specifying a level for each, from 1 to 5. This lets you have up to 5 footers running concurrently. When the table overflows a cell, all of the relevant column footers will be inserted in order, from 1 to 5.
You can specify which columns include the footer by using flags and distinguishing between first column, last column and middle columns by including a combination of the letters f, l and m. If you don’t specify one of these PTC ALD will default to including the footer on all columns.
When using <?tbfootc=2> not only is the header skipped, but any changes to show string counters made during the header are also skipped. Using <?tbnsshow=1> will still cause the header to be skipped, but counter changes will run through into the main body of the table.
Syntax
<?tbfootc num:n level:n? flags:n?>
num
0
Footer will stop at the end of the current paragraph
 
Footers must be a complete number of paragraphs
1
Marks the start of the footer
2
Marks the start of the footer in the normal way, but the footer para(s) will be skipped when first encountered in the text.
* 
Be careful to include the <?tbfootc=0> command to terminate the footer.
level
1..5
Level of header
flags
Position of column footer. The flags consist of a series of letters that let you control when the column footer is included.
They come in two halves as follows:
Column
f
first column
l
last column
m
middle column
You can also specify whether to include the footer by using flags to distinguish between the different reasons for the cell ending:
Cell end
o
Footer will appear if the cell overflowed.
h
Footer will appear if a hard column or page break is used.
c
Footer will appear if cell break is used.
r
Footer will appear if row break is used.
t
Footer will appear at end of table.
Additional Information
Unlike those specified with <?tbfootr>, these footers are not a table row, or even a table cell: they appear within a cell and are line based. The footer line(s) will potentially be reinserted whenever the table overflows a cell, but this will NOT cause the commands at the very start of the footer to be re-processed, just the text.
 
When using <?tbfootc=2> not only is the footer skipped, but any changes to show string counters made during the footer are also skipped. Using <?tbnsshow=1> will still cause the footer to be skipped, but counter changes will run through into the main body of the table.
Related Links