The <?FORMAT?> instruction is a convenient means of applying 'spot' formatting to a short string of text, which is itself nested within a larger block of plain text in a <TEXT> element.

<?FORMAT options?>

where options are:

FONT fontname

The fontname is the name of the Typeface family: if this includes spaces then the name must be enclosed in quotes, e.g. "Courier New".

WEIGHT weight
You may use any integer from 7 to -7 for the value weight. There are also some permitted string values for frequently-used weights:

string

#

description

 

-7

ultra thin

 

-6

extra thin

 

-5

thin

 

-4

extra light

LIGHT

-3

light

 

-2

demi light

 

-1

semi light

REGULAR

0

medium (default)

 

1

semi bold

 

2

demi bold

BOLD

3

bold

 

4

extra bold

 

5

black

 

6

extra black

BLACK

7

ultra black

STYLE style
where style may take these integer or string values:

#

string

0

UPRIGHT

1

ITALIC

 

OBLIQUE

POINTSIZE number

The commonly used shorthand alternatives POINT and PT are also acceptable in place of POINTSIZE – in fact a number by itself is sufficient. (The same cannot be said of WEIGHT and STYLE, which may also take numeric values.)