STRING
STRING defines a string containing a text and operation codes (e.g., to change the default font settings).
Example 3 – Using Strings and Various Line Types and Example 5 – Use Included Files for Predefined Symbols
Syntax |
STRING name text_with_each_character_in_^S#^G^F#^U#^D#^R#^L#^N
|
|
text_with_each_character_in_^S#^G^F#^U#^D#^R#^L#^N means the text is coded with each of its characters (and/or numeric numbers) that are formatted with various operators ( |

For the PostScript hardcopy fonts, these operation codes are not valid; see LaTeX Formatting Codes:
Operator | Operation |
---|---|
^S#
|
Set character size to size # |
^G
|
Set font to Greek |
^F#
|
Set font to font number # |
^U#
|
Move up # units |
^D#
|
Move down # units |
^R#
|
Move right # units |
^L#
|
Move left # units |
^N
|
Do not move, remain at current |

STRING Alpha1 ^Ga^F0^D0^S8,1^S0^U0
is set to a1
STRING M23C6 M^D0^S8,23^S0^U0C^D0^S8,6^S0^U0
is set to M23C6
STRING ACA2CO3 ^Ga^F0^D0^S8Ca^D0^S4,2^S0^U0^S8CO^D0^S4,3^S0^U0
is set to Ca2CO3