User's Manual

To use the Hershey font system, a few initialisation steps must be followed:
  (init-graph)				; switch to graphics mode
  (set-text-justify 'LEFT 'BOTTOM)	; 'standard'
Here 'standard' should be understood as a joke, because it is not the mode BGI starts in, contrary to obvious common sense. Now |Out-hershey| can be used, either like |Out-Text| or like |Out-Text-XY|. With the latter option, supply a point as second argument. In all cases, supply a string as first argument. The general format of the string is:

{$\displaystyle \mbox{$\langle${\em command}$\rangle$}$ | $\displaystyle \mbox{$\langle${\em font}$\rangle$}$ | $\displaystyle \mbox{$\langle${\em symbol}$\rangle$}$ | (|| | ||)$\displaystyle \mbox{$\langle${\em item}$\rangle$}$ | text}

There 〈command〉 is

A 〈font〉 is |||〈name〉 or |||〈name@scale〉. Name can be one of |RM10|, |RM2L|, |RM2B| (roman simple, light and bold), |SL10|, |SL2L|, |SL2B| (same in slanted), |SS10|, |SS2L|, |SS2B| (same in sans-serif), |GR10|, |GR2L|, |GR2B| (same in γρεεκ), |AN20|, |GO20|, |OE20| (antique, gothic and old english), |SY10|, |SY20| (symbols) and |CY20| (cyrillic). 〈scale〉 can be a number (size in multiples of 8 pixels) or a pair |(|〈x〉|,|〈y〉|)| (X- and Y-scaling). Sizes should range between 1 and 10.

(out-hershey "\\rm2b@1 J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{size1.eps}
(out-hershey "\\rm2b@2 J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{size2.eps}
(out-hershey "\\rm2b@3 J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{size3.eps}
(out-hershey "\\rm2b@4 J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{size4.eps}
(out-hershey "\\rm2b@5 J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{size5.eps}
(out-hershey "\\rm2b@(3,1) J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{size31.eps}
(out-hershey "\\rm2b@(1,3) J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{size13.eps}
(out-hershey "\\rm2l@4 J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{rm2l.eps}
(out-hershey "\\sl2b@4 J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{sl2b.eps}
(out-hershey "\\ss2b@4 J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{ss2b.eps}
(out-hershey "\\an20@4 J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{an20.eps}
(out-hershey "\\go20@4 J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{go20.eps}
(out-hershey "\\oe20@4 J. Bond 007?")
=320pt =72pt \epsfbox[0 0 500 180]{oe20.eps}
(out-hershey "\\cy20@4 L.Q.Cnpa`web")
=320pt =72pt \epsfbox[0 0 500 180]{cy20.eps}
(out-hershey "\\gr2b@4 Ledem acam")
=320pt =72pt \epsfbox[0 0 500 180]{gr2b.eps}

An 〈item〉 is either a character, or a symbol, or a group (||). Text is any string of characters, except |^|'s and |_|'s must be prefixed by a backslash (they in effect are treated as symbols).

These are the symbols available:
\begin{multicols}{3}\noindent
{\tt$\backslash$langle}\dotfill\
\epsfxsize =20p...
...sfxsize =20pt
\epsfysize =20pt\epsfbox[0 0 350 350]{l6.eps} \\
\end{multicols}