Description
This tag activates/deactivates the italic style for the current font.
Notes
•This tag is not exported well on Web. Create and use a character style instead, e.g. >italic<.
•A italic member of the current font family must exist in the list of the GN4 fonts, otherwise, this tag will have no effect.
Parameters and typographical expressions
1.Toggle. Number 0 or 1. Value of 0 removes the italic attribute of the text. Value of 1 makes the text italic.
Tag Effects
Effects are visible in the WYSIWYG pane of the Articles main tab or on a page on the Pages main tab. Also, it is visible in the source pane of the Text Editor Ted4 if the Use video fonts box in the Preferences dialog box of the Text Editor Ted4 is checked, or in the source pane of the Page Editor Fred4 if the same box is checked in the Ted4 Preferences dialog box 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, but only before any printable character.
See also
>it 1< Applies italic on the current font from the insertion point till the end of the current paragraph. Note: this requires the italic member of the font family to exist in GN4, otherwise, this tag will have no effect. >it 0< Turns off the italic of the current font. |
You can review and set italic in the Character palette, by selecting an italic member of the font family. Alternatively, click the "italic" icon in the toolbar, or press SHIFT+CTRL+I. |
The built-in command Text.EditFontItalic applies italic. The related system script is EditFontItalic. The built-in command Text.ToggleFontItalic toggles italic. The related system script is ToggleFontItalic. |
In Ted4 & Fred4 it is possible to set bold by the TextStatus object. To set italic: dim objTS = Ted4.GetTextStatus objTS.Reset objTS.Italic = true Ted4.SetTextStatus (objTS) To remove italic: dim objTS = Ted4.GetTextStatus objTS.Reset objTS.Italic = false Ted4.SetTextStatus (objTS) It is not possible to get the italic status by objects. |