Description
This tag activates electronic italic style.
Note: in GN4 PDF printing, because of a bug in Adobe libraries, slant is not printed. This bug is fixed in build 2249 in version 2.0 and newer.
Parameters and typographical expressions
1.Degrees. Integer number, in the range of -360 e 360. Positive number slants the characters clockwise.
Tag Effects
Effects for positive slanting values are visible in the WYSIWYG part of the text window of the Text Editor Ted4 or on the page in the Page Editor Fred4.
Type and scope
Can be inserted anywhere in text. 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.
See also
>slant 12< slant the characters for 12 degrees clockwise. |
Slant of text can be read and set in the character editing dialog box or palette, the Color and effects tab. The built-in command Ted4.EditSetText displays the character editing dialog box. The related system script is EditSetText. The built-in command Ted4.ToggleTextPanel switchtoggle toggles the non-modal version of the character editing dialog box (can remain open while editing text). The related system script is ToggleTextPanel. One of above listed scripts is usually assigned to the Type menu, Character, Characters Palette, and to the pen icon in the formatting toolbar. |
In Ted4 & Fred4 it is possible to set the slant of text by the TextStatus object. To get current slant: dim objTS = Ted4.GetTextStatus if objTS.HasSlant then msgbox (objTS.Slant) end if It returns slant in degrees clockwise. To set the slant, select some text and then run: dim objTS = Ted4.GetTextStatus objTS.Slant = 15 Ted4.SetTextStatus (objTS) It will surround the selection as >slant 15<text>slant 0<. |