Changing fonts within a string
To change fonts within a string precede the font number listed below
by a backslash. To turn subscripting or superscripting on or off use
\s for subscripts and \S for superscripting. Font selection is current
for the remainder of the string or until the next font change.
Subscripts and superscripts remain for the remainder of the string or
until \N is seen. To print a backslash use \\. To backspace use \b. To
begin underlining use \u, to stop underlining use \U. \+ increases the
size of the characters and \- decreases the size of the characters.
To obtain the Angstrom symbol use \cE .
xmgr uses the Hershey fonts to draw text on the screen, but PostScript
fonts for hardcopy. There are discrepancies between the two sets of
fonts and of this writing, there are problems with the mapping of
Greek and special characters.
Font # Font
* 0 .... Complex Roman on screen, maps to Times-Roman.
* 1 .... Triplex Roman on screen, maps to Times-Bold.
* 2 .... Complex Italic on screen, maps to Times-Italic.
* 3 .... Triplex Italic on screen, maps to Times-BoldItalic.
* 4 .... Simplex on screen, maps to Helvetica.
* 5 .... Duplex on screen, maps to Helvetica-Bold
* 6 .... Complex Italic on screen, maps to Helvetica-Oblique.
* 7 .... Triplex Italic on screen, maps to Helvetica-BoldOblique.
* 8 .... Simplex Greek on screen, maps to the lower 128 characters
of the Symbol font.
* 9 .... Symbols on screen, maps to the upper 128 characters of
the Symbol font.
* x .... Special symbols
Summary of other special commands
* + .... increase size
* - .... decrease size
* b .... backspace length of previous character
* c .... begin using upper 128 characters of set
* C .... stop using upper 128 characters of set
* s .... begin subscripting
* S .... begin superscripting
* u .... begin underline
* U .... stop underline
* N .... return to normal
\0F\sX\N(\8e\0) = sin(\8e\0)*e\S(-X)\N*cos(\8e\0)
prints roughly FX(e) = sin(e)*e -X*cos(e)
using font 0 and e prints as epsilon from the Simplex Greek font.
Use the upper 128 characters for accented characters. The upper
character set not display on the screen correctly but will print.
NOTE: Special characters are mapped to the keyboard, the present
mapping is not very well organized and may change.