Character Shape Mnemonics
Mnemonics for defining bold, italic, and underline shapes set the device into a mode where subsequent display or print operations render the character according to the shape.
Arguments
Mnemonic | Explanation |
---|---|
bol_ita
|
Set shape to bold and italics. |
bol_ita_und
|
Set shape to bold, italics, and underline. |
bol_und
|
Set shape to bold and underline. |
bold (or bol)
|
Set shape to bold. |
ita_und
|
Set shape to italics and underline. |
italic (or ita)
|
Set shape to italics. |
normal (or nor)
|
Reset to normal shape. |
underline (or und)
|
Set shape to underline. |
Description
When defined in the device section, they constitute the default for all character sets.
When defined in a character set section, they are valid only for that character set.
If a shape mnemonic is not defined in either the character set or the device section, the corresponding video mnemonic is used: underline equals underscore, italics equals inverse, and bold equals high intensity.
Device Section Example
^027[3m ^ITALIC ^027[23m ^NORMAL
Character Set Section
The following example
shows the definitions used for the select
mnemonic
for each of the character sets defined for the standard VT display:
’T(I-22)’ ^ITALIC ’T(I-45)’ ^ITA_UND ’W(I15)T’ ^BOLD ’W(I15)T(I22)’ ^BOL_UND ’W(I15)T(I-22)’ ^BOL_ITA ’W(I15)T(I-45)’ ^BOL_ITA_UND
If the character set section does not include definitions for the various shapes, the information from the device section is used. Therefore, it is only necessary to include these definitions in the character section if the codes are specific for this set only, or to disable a shape explicitly.