Macro Language Reference > PIs > Text > <?tklgp>
  
<?tklgp>
Description
Define a level of ligature to be applied to text by confirming which ligature group(s) are to be applied.
 
Example 528. Using combined ligature group values
Ligatures from each group are combined by adding their numbers together and in this case ligature_group becomes the sum of the group numbers. PTC ALD defaults to a setting of tklgp 255, which adds together all the group numbers allowed and therefore turns all levels on. The diagrams below illustrate the ligatures you will get by using various ligature_group value combinations:
tklgp 3
tklgp 7
tklgp 15
Syntax
<?tklgp ligature group:n?>
<?tklgp>
[no parameter]
Invoke the Ligatures - group (complex) dialog box.
ligature group
The ligature group to be applied, can be defined in one of two ways:
The actual number of the ligature group, as defined in the ligature table: see below
A number between 1 and 255, which can be used to apply one or more (or all) group numbers as a cumulative figure
1
System ligatures: these include character access ligatures, which essentially just map characters from the font to PTC ALD , e.g. Ã is, technically, a ligature. This level of ligature is always on and cannot be turned off.
 
The ligatures applied are not, however, ligatures in the commonly-understood sense, so tklgp 1 is actually the equivalent of turning ligatures off with tklig 0.
2
En dash (–) and em dash (—) ligatures: convert two hyphens (- -) and three hyphens (- - -) to en and em dashes respectively.
4
fi and fl ligatures.
8
ff, ffi, and ffl ligatures.
16
32
64
128
Related Links