Parameters for writing text

Parameter text

Text to be written.If the text contains blanks, they must be enclosed in strings.
The text string may contain normal as well as special characters.

Parameters X(x),Y(y)

Specify the lower left corner of the text (in world coordinates).
If omitted, the position will be defined by the cursor

Parameters XREL(xr),YREL(yr)

x- and y-position, respectively, relative to the coordinate origin.
At the origin (xr,yr)=(0,0), at the upper right corner (xr,yr)=(1,1).

Parameter ANGLE(ang)

Angle of text direction with respect to x-axis

Parameter LOOP

Specifies a cursor prompting loop for the text position

Parameter SIZE(rsize)

Specifies the size of characters: size = rsize * UNIT * SCALING

Parameters SX(sx),SY(sy)

Specify the size of characters in x- and y-units, respectively

Parameter POS(px,py)

Specify the position within the text string, given in units of the string length and height.

Parameter SPACING(sp)

Defines the space between characters.

Parameter WIDTH(lw)

Linewidth of the letters relative to their height, for thick letters only.

Parameter ROTATE(rot)

Inclination of characters. Counterclockwise.

Parameter LENGTH(len)

Length of characters. len > 1 causes a stretching.

Parameters HUE(colour),COLOUR(colour)

Specifies the text colour. Possible choices are:
D for default (foreground) colour and colour compositions.

Parameter FRAME

Draw a frame around the description and erase background before writing the description.
FRAME might also be given an argument, which describes 
colour and  hatching
of the frame area and the frame outline. 

Parameter CLIPPING(clipmode)

Specifies clipping of text at the coordinate axes.
   clipmode = off : switch off clipping,
   clipmode = on  : switch  on clipping.

Parameter LL(rll)

Specifies the line length (for text in formatting mode)
line length = rll * UNIT * SCALING

Parameter LLX(rll)

Specifies the line length (for text in formatting mode) in x-units * SCALING

Parameter CONTINUE

Continue text in x-direction (for text in formatting mode)

Parameter BREAK

Causes a line break (for text in formatting mode)

Parameters NEXT(ld),LINEDISTANCE(ld)

Specifies the spacing between current and next line (for text in formatting mode)

Parameter FORMAT(fmt)

   fmt = on : switch  on formatting mode
   fmt = off: switch off formatting mode
In formatting mode if the input text lines do not fit on an output line
it is split at the spaces which separate the words.
Sometimes it will be necessary to split a word.
It is possible to give a prescription how to hyphenate a word.
It is a good idea to use some rarely used character to indicate the hyphenation positions.
Unfortunately the availability of such characters depends on the computer system.

A good choice is the "`" character ("grave", ASCII hex 60). Example:


To support all cases the GMODE command
has an additional parameter to specify the hyphenation character:


A required blank is given by the character " "

In any case a break is excecuted automatically if the line begins with a blank.
A formatting example is shown in the tutorial.

Available special characters

" "                   required blank, not to be divided
`                     for dividing a word in formatting mode.

Subscripts, superscripts and overwrite:

2@0@8@Pb              208Pb, where "208" is a superscript
To$                   T0,    where "0" is a subscript
/#O                   O/,    on same place

Special characters like math and greek symbols 
are specified by a two character sequence followed by a ^:

ae^                   german Umlaut "ae"
oe^                   german Umlaut "oe"
ue^                   german Umlaut "ue"
Ae^                   german Umlaut "Ae"
Oe^                   german Umlaut "Oe"
Ue^                   german Umlaut "Ue"
sz^                   german "sharp s"
eg^ or EG^            french accent egu
gr^ or GR^            french accent grave
ce^                   french cedille
al^                   greek lower case alpha
be^                   greek lower case beta
ga^                   greek lower case gamma
Ga^                   greek upper case Gamma

all other Greek letters in a similar fashion:


hb^                   h-bar
lb^                   lambda-bar
in^                   integral
pd^                   partial derivative
bl^                   [
br^                   ]
if^                   infinity
->^                   ->
<-^                   <-
up^                   up-arrow
dn^                   down-arrow
sb^                   begin of SQRT-symbol
se^                   end of SQRT-symbol
mb^                   begin of MEAN-BAR
me^                   end of MEAN-BAR
_b^                   begin underlining
_e^                   end underlining
ap^                   approximately
pr^                   proportional
>=^                   greater or equal
<=^                   less or equal
>a^                   approximately greater than
<a^                   approximately less than
|_^                   perpendicular
ml^                   times  (multiply symbol)
bu^                   bullet (thick point)
id^                   identity
+-^                   plusminus
do^ or DO^            dot (time derivation)
ve^ or VE^            vector arrow
te^ or TE^            tensor arrows
na^                   nabla operator
pa^                   paragraph
1l^                   "1" as broad as the other numbers
,,^                   " on bottom of the line
                          (german "Anfuehrungszeichen unten")
(a)/(b)               fraction, will be transformed
                         automatically if no characters - including blanks -
                         appear outside the parantheses.
Lower and upper limits of integrals, sums and products:

in^|lower limit|upper limit|
SI^|lower limit|upper limit|
PI^|lower limit|upper limit|

Click here for a character overview.