Macro Language Reference > PIs > Tables > <?tbcolalignc>
  
<?tbcolalignc>
Description
This command instructs PTC ALD that horizontal alignment of the contents of a column should be carried out on a particular character. <?tbcolalignc> is used in conjunction with the <?tbcolalignh> command, which specifies the actual horizontal position of the column's contents: <?tbcolalignc> simply adds an extra layer, by specifying a specific character for the point of alignment.
 
A tab character must be included in the cell, as with the <?tbcolalignh> command. Without the tab the cell will be formatted either in the normal way or based on any specifications assigned by a <?tbcolfmth> command.
 
Example 401. Specify + as alignment character in a table
<?tbcolalignc="+">
Syntax
<?tbcolalignc '@' '+' code:s>
@
The "@" character is optional and only has relevance when pre-specifying alignment characters 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 characters have not been actually specified.
+
The initial "+" character is optional and, if specified, ensures that multiple <?tbcolalignc> 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.
If the "+" character has been included it is possible to add a subsequent optional "+" or "-" to add or remove the specified character(s) from the existing list respectively.
code
The character upon which to base the alignment: either its ANSI code or a character/string of characters in double quotes, for example <?tbcolalignc="+" or <?tbcolalignc=43>.
For more information, see Technote 0022: Multiple Decimal Tab Characters.
Related Links