Macro Language Reference > PIs > Text > <?ttdch>
  
<?ttdch>
Description
Specifies the character(s) that PTC ALD uses to perform decimal alignment. By default PTC ALD performs decimal alignment on a full stop (.) but it is possible to specify a different character, or add extra characters to make a set of a maximum of four characters so that PTC ALD uses any of the characters to perform decimal alignment.
 
Example 539. Specify a set of characters to be used as alignment characters for tabs
The example below specifies that the decimal tab character set should contain a ' . ' (full stop), a ' , ' (comma) and a ' - ' (hyphen):
<?ttdch ".,-">
This would, for example, mean that $120.99, $120,99 and $120-99 would all align on the correct character.
Syntax
<?ttdch '+' '-' num:n char:b>
<?ttdch>
[no parameter]
Invoke the Decimal tab characters dialog box. Text must be selected to enable the box to be invoked.
+
A + before the character specified by num or char will add that character to the decimal tab set (to a maximum of four). For example, <?ttdch +"="> adds the equals character (=) to the decimal tab character set.
If no plus or minus is specified, the decimal tab set is replaced with the set that is specified by the single num or char parameter.
The set will not accept duplicate characters.
If more than four characters are specified for the tab set, only the first four characters will be used.
-
A - before the character specified by num or char will remove that character from the decimal tab set. For example, <?ttdch -".-"> removes the full stop (.) and hyphen (-) from the decimal tab character set.
Any characters that do not exist in the decimal tab character set are ignored.
num
A single character defined by its number: for example, the following syntax will add an uppercase A to the decimal tab character set: <?ttdch 65>.
* 
The number of a character can be determined in two ways:
Use the following syntax to return the selected character's number in a boxit: #?"boxit (%)"
Use 'x'-is-a-number syntax: @^('A')^
char
A single character: for example, the following syntax will add an uppercase A to the decimal tab character set: <?ttdch 'A'>.