CALLIG, string [, x, y, size, theta, font, flag] [, /DEV, /DVI, /IMG, /PLT, /RIM, /RPL]
Plots characters from Hershey vector fonts. The arguments are:
string may contain special
commands. A left-side quote ` introduces TeX-style commands
(see below) and a dollar sign $ introduces classic-style commands.
The classic-style commands are:
0..9
1-4:
roman sans serif, 5: roman bold sans serif, 6: roman
bold, 7: greek, 8: italic, 9: symbols.
A, a
E, e
I, i
B, b
N, n
A, E, I, and
B.
$ > <
S, s
R, r
X, x
C, c
* .
x, y
DEV) when they are larger
than 1, or in device-independent coordinates (DVI) when they are
smaller than 1. They default to !XC, !YC (see
below).
size
!FSIZE, which
defaults to 1.
theta
0.
font
!FONT which defaults to 6.
flag
flag
nonzero) or up (when flag is zero). If the pen is up then
nothing is plotted, though the pen position variables !XC
and !YC are updated (see below).
A number of TeX-style commands are supported, including:
`alpha `beta `chi `delta `epsilon `eta `gamma `iota `kappa `lambda `mu `nu `omega `omicron `phi `psi `rho `sigma `tau `theta `upsilon `xi `zeta.
`Alpha `Beta `Chi `Delta `Epsilon `Eta `Gamma `Iota `Kappa `Lambda `Mu `Nu `Omega `Omicron `Phi `Psi `Rho `Sigma `Tau `Theta `Upsilon `Xi `Zeta.
`bf for a bold roman font (font 5), `it for a bold italic
font (font 8), `rm for a roman font (font 6), and `sf
for a roman sans serif font (font 1). `size (non-TeX) introduces
a new font size (measured by an integer or floating-point number
relative to the entry font). According to the usual TeX standards, the
following argument must be enclosed in curly braces {} if it
has more than a single digit.
`cap: the set union symbol; `cup: the set intersection
symbol; `exists: the existence indicator; `ge: the "greater
than or equal" symbol; `in: the is-element-of symbol;
`int: the integration sign; `le: the "less than or equal
to" symbol; `nabla: the nabla symbol; `oint: the closed
integration sign; `partial: the partial differentiation symbol;
`perp: the perpendicular sign; `pm: the plus-minus sign;
`propto: the proportional-to sign; `sim: the similar-to
symbol; `subset: the is-subset-of symbol; `supset: the
is-superset-of symbol; `surd: the square-root symbol;
`times: the multiplication symbol.
`downarrow; `leftarrow; `rightarrow; `uparrow.
`box: (non-TeX) a box; `clubsuit: the clubs card suit
symbol; `dag: the dagger symbol; `ddag: the double dagger
symbol; `diamondsuit: the diamonds card suit symbol;
`heartsuit: the hearts card suit symbol; `odot: the
astronomical Sun symbol (a dot in a circle); `spadesuit: the
spade card suit symbol.
In addition, TeX math-mode superscripting (introduced by ^),
subscripting (introduced by _) and brace-enclosed grouping
({}) to indicate the scope of super- or subscripts are
supported. Grouping to delimit the influence of font or size changes is
not supported! In this routine, there is no separate TeX-style "math
mode": all of these TeX-style commands are available all the time.
For example, the following two strings yield an alpha with 2 sigma for
superscript, followed by the "is-a-member-of" sign, followed by an italic
Q: '$7a$E$X2$7r$N$9e$8Q' using the short notation, and
'`alpha^{2`sigma}`in`it{Q}' using TeX-style notation.
The coordinate system for x and y is chosen as
described at Screen Coordinates.
The following system variable influence or are influenced by calls to
CALLIG:
!XC, !YC
!XC and !YC contain the
coordinates of the point just after the last drawn character.
!CRATIO
!CRATIO, an extra scaling factor for the
characters' y size.
!FSIZE
size is not specified.
!FONT
font is not specified.
Alias: C
See also: !CRATIO, !FONT, !FSIZE, !HEIGHT, !IORDER, !MXB, !MXT, !MYB, !MYT, Screen Coordinates, !TVIX, !TVIXB, !TVIY, !TVIYB, !WIDTH, !WXB, !WXT, !WYB, !WYT, !XC, !YC, Plots, Screen Coordinates
[3.1.347]