Text formatting of character type (or on character-level) controls the typographical properties such as font (typeface), type size, horizontal scale, tracking, position of the baseline, type style, color, tint, case, hyphenation language, alignment of the last line) and it may be inserted anywhere in text. In general, a tag of this type may be inserted anywhere in the text. By their scope, all the character type tags are local for the paragraph where inserted, therefore, their effect cease at most at the end of that paragraph, restoring the previous typographical status.
It is usually identified by GNML tags >sav< and >res< that surround text and GNML tags. Only the text between mentioned tags is affected by the formatting. The mentioned tags are usually inserted by choosing styles or pressing predefined hot-keys.
Character-level formatting includes:
Font and size: | font, size, horizontal scale |
Type style: | bold, italic, bold italic, blind, underline, small caps, lowercase, uppercases, color and tint |
Position: | baseline offset, vertical offset, tracking |
Hyphenation: | hyphenation language |
Specials: | discretionary hyphen, line fill, inline graphic, character left and right shift, variables |
All properties but "Specials" can be applied on highlighted block of text, while "Specials" can be applied on the current position of I-beam.
Character type built-in GNML tags:
>co N< | selection of color (c) |
>jmp M< | vertical offset (c) |
>dh N1,N2,N3< | hyphenation (c) |
>hyp N< | hyphenation selection (c) |
>img N,M1,M2< | insert image (c) |
>imgid i,M1,M2< | insert image by ID (c3) |
>qc< | centred alignment of the last line. |
>ql< | left alignment of the last line. |
>qr< | right alignment of the last line. |
>qj< | justified alignment of the last line. |
>q I1,I2< | alignment of the last line. |
>rem I< | start blind text (c) |
>res< | restore typographical status (c) |
>rfill M1,M2,I< | fill line (c) |
>sav< | save typographical status (c) |
>slant I< | Electronic italics. |
>small I< | enable small caps and uppercases (c) |
>under M1,M2< | underlines (c) |
>w M< | the character's base (c) |
>writei I,N< | write the variable (c) |
>writes N< | write the string variable (c3) |
|
The priority of the character formatting is the highest. It supersedes other, optionally present character attributes of the paragraph formatting, global formatting and default formatting.
|
Character formatting may be globalized.
|