Type size and leading

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

Description

Following user-defined tags (hidden styles) represent a compact way to set type size and leading at once.

Purpose

Tag name

Tags

Size and leading

>hld...<

>ld #1<>h #1<>w W*(100+#2)/100<

Size and leading, aligned top

>held<

>h #1<>ld #1<>sc<>w W*(100+#2)/100<

Size and auto leading 120%

>hald<

>h #1<>ld H"1200<>sc<>w W*(100+#2)/100<

Size and leading vertically centred

>hcld<

>h #1<>ld #1<>a (CapH-LD)/2<>w W*(100+#2)/100<

Parameters and typographical expressions

1.type size and leading (except for >hald..<, where leading is set as 120% of type size)

2.(optional)  horizontal shrinking/stretching percentage. 100=normal, 90 is shrinked by 10%, 110 is stretched by 10%

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.

Remarks

Above styles may be available in your version of J library, or you can add them manually.