Macro Language Reference > PIs > Text > <?tchrwf>
  
<?tchrwf>
Description
Specifies an option for shifting text left or right within a fixed text width. This PI only has an effect when a fixed text width is being used, otherwise the character already fits exactly within its width and no shifting is needed.
Syntax
<?tchrwf width_format:n>
<?tchrwf>
[no parameter]
Invoke the Character - width format dialog box.
width_format
0
Auto shift: defaults to 1 if text is displayed in vertical mode or rotated by 90, otherwise the default value is 4.
1
Left.
2
Center.
3
Right.
4
None.
5
Left align outline.
6
Centre align outline.
7
Right align outline.
8
Use outline width. Instead of using the width of the character, the character width becomes the outline of the character.
Additional Information
When a character is rotated by 90° or 270°, PTC ALD uses the outline of the character and how far it extends above and below the baseline to work out how to align it.
When the character is rotated by 180° or not rotated at all, PTC ALD will calculate its alignment based on the width of the character for modes 1-3 and based on the width of the outline for modes 5-7.
When text is displayed in vertical mode the baseline itself has been rotated, so this PI will actually affect the vertical position of the character.
 
By default, opening brackets and punctuation are given a value of 3 and closing brackets and punctuation have the value 1, so that they still group their contents when a fixed width is being used.