Macro Language Reference > PIs > Text > <?h>
  
<?h>
Description
This PI was originally intended to provide a method of precise kerning between letters and fixed spaces between words. However, PTC ALD still treats this as a very large kern, combining surrounding words into one. This can cause inaccurate hyphenation on these compound words, for example hyphens may appear next to the fixed space at the end of a line. To avoid these problems a set of spacing flags has been introduced.
 
Example 463. Prevent words from splitting when kerned
To prevent the word(s) from splitting at all when kerning is active, combine flags 1, 2 and 4:
<?h=10pt,7>
 
Example 464. Split a word at a space then suppress the space in output
The following syntax will allow a word to split at a fixed space, but will suppress the space in output:
<?h=10pt,16>
 
Example 465. Allow words to split but suppress hyphen and space in output
The following syntax will allow a word to split , but will suppress the hyphen and space in output:
<?h=10pt,24>
 
Example 466. Disallow a hyphen at certain positions in a word
Setting the spacing value to zero can be useful for a number of other effects: for example, to disallow a hyphen at a certain position within a word, use:
<?h=0,1>
This still allows the hyphenation algorithms to find the points of a word that may be split, but allows you to override positions which you think are wrong.
Syntax
<?h value:n option:n?>
value
Value and denomination of measure (defaults to mm).
option
The spacing flags are added to the command as a single number by combining values from the following table:
Do not split:
at current position
1
before current position
2
after current position
4
If splitting at current position:
suppress the hyphen
8
suppress the fixed space
16
Other flags:
pass space to the hyphenator
32
include a variable (tie) space
64