Summary of control codes
- \f{x} .... switch to font named "x"
- \f{n} .... switch to font number n (not recommended)
- \f{} .... return to original font
- \u .... begin underline
- \U .... stop underline
- \o .... begin overline
- \O .... stop overline
- \c .... begin using upper 128 characters of set
- \C .... stop using upper 128 characters of set
- \z{x} .... zoom x times
- \z{} .... return to original zoom
- \v{x} .... shift vertically by x
- \v{} .... return to unshifted baseline
- \h{x} .... horizontal shift by x
- \m{n} .... mark current position as n
- \M{n} .... return to saved position n
- \dl .... LtoR substring direction
- \dr .... RtoL substring direction
- \dL .... LtoR text advancing
- \dR .... RtoL text advancing (not implemented yet)
- \x .... switch to Symbol font (same as \f{Symbol})
- \+ .... increase size (same as \z{1.19} ; 1.19 = sqrt(sqrt(2)))
- \- .... decrease size (same as \z{0.84} ; 0.84 = 1/sqrt(sqrt(2)))
- \s .... begin subscripting (same as \v{-0.4}\z{0.71})
- \S .... begin superscripting (same as \v{0.6}\z{0.71})
- \N .... return to normal style (same as \v{}\z{})
To print a backslash use \\.
Example:
F\sX\N(\xe\f{}) = sin(\xe\B)\c7\Ce\S-X\N\c7\Ccos(\xe\f{})
prints roughly FX(e) = sin(e)·e-X·cos(e)
using string's initial font and e prints as epsilon from the Symbol font.
NOTE:
Characters from the upper half of the char table can be entered directly from
the keyboard, using appropriate xmodmap(1) settings.