ld

Build 1501 on 14/Nov/2017  This topic last edited on: 24/Oct/2016, at 14:39

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.

Click to toggle expandExamples

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.