Description
This tag specifies the fixed or the flexible leading for the current paragraph.
Note: this tag is improved in the version 2.3.
Parameters and typographical expressions
1.Fixed leading. A positive decimal number of a measure type, or a typographical expression that results in such a number. Default is zero.
2.Leading to be added in vertical justification. A positive decimal number of a measure type, or a typographical expression that results in such a number. Default is zero.
3.Leading to be subtracted in vertical justification. A positive decimal number of a measure type, or a typographical expression that results in such a number. Default is zero.
4.In version 2.3 or newer: the auto-leading value, expressed in thousands, e.g. 1200 is 120%.
The parameters may contain expression with variable for the current type size H, current leading LD, or any other variable of measure type.
Tag Effects
Effects are visible in the WYSIWYG pane of the Articles main tab or on a page on the Pages main tab. However, because this tag may change the way how the text lines are justified, its effect is indirectly visible in the source pane of the Articles or Pages main tab.
Type and scope
Should be inserted only at the beginning of the paragraph, after or before other tags, but before any printable character. Local for the paragraph where is inserted, therefore effects cease on the end of that paragraph. May be globalized, by appending the >default< tag after.
>ld 12pt<>default< set 12pt fixed leading in the current paragraph and in all other paragraphs, except for the paragraphs where it is applied >ld..< with other values.
set the variable leading between 12pt and 13.2pt in the current paragraph and all the following paragraphs except in paragraphs where it is applied tag >ld..< with other values.
set the variable leading between 11.2pt and 13.2pt in the current paragraph and all the following paragraphs except in paragraphs where it is applied tag >ld..< with other values.
apply the variable leading between 12pt and 12pt+3% in the current paragraph and all the following paragraphs except in paragraphs where it is applied tag >ld..< with other values.
apply the variable leading with the variation limited on +/- 3% or 12pt in the current paragraph and all the following paragraphs except in paragraphs where it is applied tag >ld..< with other values.
set fixed leading, removing all variations, applied with previous >ld..< tags.
auto-leading 120%.
Increase/reduce (absolute)
Increase/reduce (relative)
|
Remarks
The flexible leading is not compatible with the "lock to baseline grid" feature, achieved by the >grid..< command. If you are using lock to baseline grid, then you have to set your leading to fixed value.