Macro Language Reference > PIs > Tables > <?tbsimcol>
  
<?tbsimcol>
Description
In normal tables, the top of each cell is treated like the top of a column, in that paragraph column top margins will be used. However, this does not allow for the use of <?tpdt> and column top margins will not be applied after a break if text overflows the cell.
The use of <?tbovflow=3> for slim tables simulates frame columns and, as a result, as well as flowing from one column to the next on overflows, text works with <?tpdt> and behaves in the same way as normal text at the top of each cell, i.e. as if it was the top of a column. This includes broken cells.
The<?tbsimcol> command allows normal non-slim tables to simulate column tops in a similar way, simulating column tops at the top of each cell, and when breaking, and hence permits the use of <?tpdt>.
The option <?tbsimcol=2> simulates column tops in those cells that are themselves at the top of a frame column.
 
Using <?tbsimcol=2> within a boxhead has a slightly different effect since its expected use is to try and align content with the top of a column while the top of cells don't necessarily align with each other within a boxed row. Within a boxhead, therefore, <?tpdt> is not applied to each individual cell but rather is applied as a one-off to the whole boxed row. This is done by picking up the value of <?tpdt> for the highest cell within the row and using this as a vertical shift for the whole row. This does mean, however, that if your cells have top rules <?tpdt> will not have its usual effect.
Syntax
<?tbsimcol num:n>
num
0
Do not simulate column tops
1
Simulate column tops at the top of each cell and when breaking
2
Simulate column tops as for the num=1 option, only for cells that are at the top of a frame column.
3
Do not treat cells as top of column, but do apply the cell top drop.
Related Links