Globalizable and global tags

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

Global tags affect all the subsequent text, from the point where defined.

Some built-in tags are natively global, such as >m..< and >rem...<. Some other tags are globalizable, thus can become global if specified in string of tags before the tags >default<, >global< or >g<. Some tags are not globalizable.

Text formatting globalizable tags include:

Property

Description

font and size

choice of font, type size, horizontal scale of characters

type style

bold, italic,

small caps, all lowercases, all uppercases

text color and tint

leading

fixed or variable leading

lock to baseline grid

vertical position

baseline offset

vertical offset

variable space above

top compensation        

horizontal position

first, left, right indent

alignment of paragraph and last line

tracking

justification

hyphenation status

words spaceband

specials

hyphenation rules

drop capital

area fill

vertical and horizontal rules

orphan control and indivisible paragraph

shrink and stretch paragraph

 

Global tags include column width >m..<; hidden text >rem 1<

_noteNotes

When a paragraph style is applied at the beginning of the text, only the format default settings 'compete' with the paragraph style. The rule is rather simple: whatever typographical characteristics is not explicitly specified within the paragraph style, will be used from the format defaults. For example, if the paragraph style does not contain the hyphenation status tag, the one from defaults is used. See Format Defaults for the list of settings that belong to format defaults.

When a paragraph style is applied on the paragraph that is not the first one, the situation is potentially more complex. Not only the format default settings 'compete' with the paragraph style, but also all other globalized typographical settings, optionally present in the previous paragraphs text. The rule is rather simple: whatever typographical characteristics is not explicitly specified within the paragraph style, will be used from the format defaults or from globalized settings. For example, if the paragraph style does not contain tag for color setting >co..<, but in some previous paragraph, the magenta color was globalized, the current paragraph will be painted in magenta!