SYMBOL

Syntax:

SYMBOL field-argument [ switches ]

Description: Retrieves the character whose code point value is specified in decimal or hexadecimal (by using a leading 0x or 0X) by text in field-argument. The formatting switches over ride any formatting applied directly to the result.

The XML generated for a complex field implementation shall not have the optional field value stored.

Field Value: The specified character.

Switches: Zero or more of the following field-specific-switches.

\a

Interprets text in field-argument as the value of an ANSI character.

\f field-argument

Interprets text in the switch's field-argument as the name of the font from which the character whose value is specified by text in the field's field-argument. By default, the font used is that for the current text run.

\h

Inserts the symbol without affecting the line spacing of the paragraph. If large symbols are inserted with this switch, text above the symbol may be overwritten.

\j

Interprets text in field-argument as the value of a SHIFT-JIS character.

\s field-argument

Interprets text in the switch's field-argument as the integral font size in points.

\u

Interprets text in field-argument as the value of a Unicode character.

example:
SYMBOL 65
SYMBOL 66 \a
SYMBOL 67 \u
SYMBOL 0x20ac \u
SYMBOL 68
SYMBOL 68 \f Symbol
SYMBOL 40 \f Wingdings \s 24

the results are:

A
B
C
€
D

