Macro Language Reference > PIs > Tables > <?tbcolmaxw>
  
<?tbcolmaxw>
Description
This command allocates a maximum width to a column in a table. The width applies to the text inside the column and PTC ALD will allow additional space for any cell rules.
 
Example 406. Set a maximum column width of 100mm
<?tbcolmaxw=100mm>
Syntax
<?tbcolmaxw '@' '+' width:uh>
@
The "@" character is optional and only has relevance when pre-specifying column widths at the top of the table. It specifies that this column is the one whose properties should be repeated if required, for any columns whose width has not been actually specified.
+
The initial "+" character is optional and, if specified, ensures that multiple <?tbcolmaxw> commands can be specified instead of a single one with multiple values. The "+" also indicates the presence of further details for the current column when specifying columns at the top of the table, rather than moving on to specify the next column in sequence.
width
Unit of measurement and any other optional characters. There is no default value as such, but PTC ALD will limit the width of a single column to the width of the frame.
Additional Information
PTC ALD scans a table and usually uses the length of the longest cell to set column widths. This can cause unsatisfactory results, for example if all the text in a column is very long PTC ALD would produce a very wide column width. In this case you can specify a maximum column width using <?tbcolmaxw>.
Measured strings may also be used in conjunction with a fixed width: use the syntax #"string".