The following article describes the command syntax used in the Symbol Script Editor. Commands that must be typed exactly as listed here are given in CAPITAL LETTERS AND BOLDFACE. Commands given in italics must be replaced by certain values listed below. The single commands must be separated by spaces or tab characters.
The text in the Symbol Script Editor must be enclosed in curly braces. It may contain one or more symbol descriptions:
{
symbol-description1
symbol-description2
...
}
A symbol description consists of a symbol header and a symbol contents part:
height width align
contents...
...
height is a numeric value specifying the symbol height's scaling percentage (min. 20, max. 250).
width is a numeric value specifying the symbol width's scaling percentage (min. 20, max. 250).
align specifies the vertical alignment of the symbol. The possible values
are:
BALIGN (Bottom align, default)
CALIGN (Center align)
TALIGN (Top align)
contents consists of a contents identifier following the contents description. The three possible contents identifiers are:
SIMPLE (simple symbol or symbol item)
UNDELIMITED (compound symbol or symbol item without parentheses or brackets)
DELIMITED (compound symbol or symbol item enclosed in parentheses or
brackets)
The SIMPLE identifier is followed by one or more simple symbol names.
SIMPLE name1 [name2 ...]Example
The UNDELIMITED identifier is followed by a specification of the compound symbol's orientation and alignment of its items. The following lines contain, enclosed in braces, the description of the compound symbol's items:
UNDELIMITED orientation item-align
{
item-description1
item-description2
...
}
The possible values for orientation are:
VLIST (Vertical list, default)
HLIST (Horizontal list)
The possible values for item-align in a vertical list are:
LELEMENTS (Left align items)
CELEMENTS (Center align items, default)
CELEMENTSNODEL (Center align items ignoring parentheses or brackets)
The possible values for item-align in a horizontal list are:
BELEMENTS (Bottom align items, default)
CELEMENTS (Center align items)
item-description may be in turn another SIMPLE, UNDELIMITED or DELIMITED identifier followed by a contents description. Note that in a vertical orientated list the bottom item is the first item.
The DELIMITED identifier is followed by a specification of the compound symbol's orientation, alignment of its items and its delimiters (parentheses or brackets). The following lines contain, enclosed in braces, the description of the compound symbol's items:
DELIMITED orientation item-align delimiter1 [delimiter2]
{
item-description1
item-description2
...
}
See description of the UNDELIMITED identifier for possible values for orientation, item-align and item-description. The delimiter specification consists of a description of the delimiter's position followed by the simple symbol name for the delimiter symbol. The delimiter's position is described by the following commands:
LDEL (Delimiter to the left of the symbol)
RDEL (Delimiter to the right of the symbol)
BDEL (Delimiter below the symbol)
TDEL (Delimiter above the symbol)