jfig.utils
Class SimpleLatexParser

java.lang.Object
  extended byjfig.utils.SimpleLatexParser

public class SimpleLatexParser
extends java.lang.Object

a class to parse and convert simple TeX/LaTeX-style strings into formatted FIG compound objects. the following things work right now: most elementary commands \$, \%, \/, "a..."s etc., font selection (index, ptSize, color) basic formatting (rm, em, tt, itt, btt) color selection basic math commands, if corresponding Unicode chars available basic spacing commands subscripts and superscripts with grouped {arguments} but these do not: subscript / superscript without grouped arguments macros with arguments, user-defined macros,


Nested Class Summary
(package private)  class SimpleLatexParser.Box
          like TeX, we try to abut aligned Box'es, each of which consists of other Boxes in turn, with a single character as the basic building block.
(package private)  class SimpleLatexParser.CharBox
          a Box that holds a single character or a string of characters of the specified font.
(package private)  class SimpleLatexParser.SubSuperScriptBox
          a Box that holds a sub- and a superscript Box
 
Field Summary
(package private) static java.lang.String[] _mode_names
           
(package private) static int BEGINGROUP
           
(package private) static int BEGINMATH
           
(package private)  ColorCache colorCache
           
(package private)  int colorIndex
           
(package private) static int COMMAND
           
(package private) static int CONTROL
           
(package private) static int count
           
(package private)  SimpleLatexParser.Box current
           
(package private)  boolean debug
           
(package private)  boolean display_boxes
           
(package private)  boolean dump_tokens
           
(package private) static int ENDGROUP
           
(package private) static int ENDMATH
           
(package private)  FontCache fontCache
           
(package private)  int fontIndex
           
(package private) static int INVALID
           
(package private)  int italic_correction
           
(package private)  SimpleLatexParser.Box master
           
(package private) static int MATH
           
(package private)  int mathFontIndex
           
(package private)  int mathGreekFontIndex
           
(package private) static int MATHSYMBOL
           
(package private)  int mathSymbolFontIndex
           
(package private)  int ptSize
           
(package private)  java.util.Stack stack
           
(package private) static int SUBSCRIPT
           
 int[][] subscriptPtSizes
           
(package private) static int SUPERSCRIPT
           
(package private) static int TEXT
           
(package private)  java.lang.StringBuffer token
           
(package private)  java.util.Vector tokens
           
(package private)  java.util.Vector types
           
 
Constructor Summary
SimpleLatexParser()
           
 
Method Summary
 void _acute()
           
 void _aleph()
           
 void _alpha()
           
 void _Alpha()
           
 void _amalg()
           
 void _angle()
           
 void _approx()
           
 void _approxeq()
           
 void _arccos()
           
 void _arcsin()
           
 void _arctan()
           
 void _arg()
           
 void _arrowvert()
           
 void _Arrowvert()
           
 void _ast()
           
 void _asymp()
           
 void _atan()
           
 void _atsign()
           
 void _backslash()
           
 void _bar()
           
 void _beta()
           
 void _Beta()
           
 void _beth()
           
 void _bf()
           
 void _bigcap()
           
 void _bigcirc()
           
 void _bigcup()
           
 void _bigodot()
           
 void _bigoplus()
           
 void _bigotimes()
           
 void _bigsqcup()
           
 void _bigtriangledown()
           
 void _bigtriangleup()
           
 void _biguplus()
           
 void _bigvee()
           
 void _bigwedge()
           
 void _black()
           
 void _blue()
           
 void _bot()
           
 void _bowtie()
           
 void _Box()
           
 void _bracevert()
           
 void _brave()
           
 void _btt()
           
 void _bullet()
           
 void _cap()
           
 void _cdot()
           
 void _cdots()
           
 void _cdotvar()
           
 void _celsius()
           
 void _check()
           
 void _chi()
           
 void _Chi()
           
 void _circ()
           
 void _circlearrowleft()
           
 void _circlearrowright()
           
 void _clubsuit()
           
 void _complement()
           
 void _cong()
           
 void _coprod()
           
 void _copyright()
           
 void _cos()
           
 void _cosh()
           
 void _cot()
           
 void _coth()
           
 void _csc()
           
 void _cubicroot()
           
 void _cup()
           
 void _cyan()
           
 void _dagger()
           
 void _daleth()
           
 void _darkblue()
           
 void _darkgreen()
           
 void _darkpink()
           
 void _darkred()
           
 void _dashv()
           
 void _ddagger()
           
 void _ddot()
           
 void _ddots()
           
 void _define()
           
 void _deg()
           
 void _degrees()
           
 void _delta()
           
 void _Delta()
           
 void _det()
           
 void _diamond()
           
 void _Diamond()
           
 void _diamondsuit()
           
 void _digamma()
           
 void _dim()
           
 void _div()
           
 void _dot()
           
 void _doteq()
           
 void _downarrow()
           
 void _Downarrow()
           
 void _dverticalbar()
           
 void _eightpt()
           
 void _eightteenpt()
           
 void _eightypt()
           
 void _elevenpt()
           
 void _ell()
           
 void _em()
           
 void _emptyset()
           
 void _emspace()
           
 void _epsilon()
           
 void _Epsilon()
           
 void _equals()
           
 void _equiv()
           
 void _eta()
           
 void _Eta()
           
 void _euro()
           
 void _exists()
           
 void _exp()
           
 void _fahrenheit()
           
 void _female()
           
 void _fifteenpt()
           
 void _fiftyfivept()
           
 void _fiftypt()
           
 void _fivept()
           
 void _flat()
           
 void _footnotesize()
           
 void _forall()
           
 void _fourteenpt()
           
 void _fourthroot()
           
 void _fourtyfivept()
           
 void _fourtypt()
           
 void _frac()
           
 void _frown()
           
 void _gamma()
           
 void _Gamma()
           
 void _gcd()
           
 void _geq()
           
 void _gg()
           
 void _ggg()
           
 void _gimel()
           
 void _gold()
           
 void _grave()
           
 void _greaterthan()
           
 void _greeko()
           
 void _Greeko()
           
 void _green()
           
 void _hashsign()
           
 void _hat()
           
 void _hbar()
           
 void _heartsuit()
           
 void _hom()
           
 void _hookleftarrow()
           
 void _hookrightarrow()
           
 void _huge()
           
 void _hundredpt()
           
 void _iiint()
           
 void _iint()
           
 void _Im()
           
 void _imath()
           
 void _in()
           
 void _inf()
           
 void _infty()
           
 void _int()
           
 void _iota()
           
 void _Iota()
           
 void _itt()
           
 void _jmath()
           
 void _Join()
           
 void _kappa()
           
 void _Kappa()
           
 void _ker()
           
 void _lambda()
           
 void _Lambda()
           
 void _langle()
           
 void _large()
           
 void _Large()
           
 void _LARGE()
           
 void _lbrace()
           
 void _lbracket()
           
 void _lceil()
           
 void _ldots()
           
 void _le()
           
 void _leftarrow()
           
 void _Leftarrow()
           
 void _leftharpoondown()
           
 void _leftharpoonup()
           
 void _leftrightarrow()
           
 void _Leftrightarrow()
           
 void _leftrightsquigarrow()
           
 void _leq()
           
 void _lessthan()
           
 void _lfloor()
           
 void _lg()
           
 void _lgroup()
           
 void _lhd()
           
 void _lightblue()
           
 void _lim()
           
 void _liminf()
           
 void _limsup()
           
 void _ll()
           
 void _lll()
           
 void _lmoustache()
           
 void _ln()
           
 void _log()
           
 void _longleftarrow()
           
 void _LongLeftarrow()
           
 void _longleftrightarrow()
           
 void _Longleftrightarrow()
           
 void _longmapsto()
           
 void _longrightarrow()
           
 void _Longrightarrow()
           
 void _looparrowleft()
           
 void _looparrowright()
           
 void _magenta()
           
 void _male()
           
 void _mapsto()
           
 void _mathEpsilon()
           
 void _mathrm()
          request roman font in math mode.
 void _mathslash()
           
 void _max()
           
 void _mho()
           
 void _mid()
           
 void _min()
           
 void _minus()
           
 void _models()
           
 void _mp()
           
 void _mu()
           
 void _Mu()
           
 void _nabla()
           
 void _natural()
           
 void _nearrow()
           
 void _neg()
           
 void _neq()
           
 void _nexists()
           
 void _ni()
           
 void _ninept()
           
 void _nineteenpt()
           
 void _ninetypt()
           
 void _nleftarrow()
           
 void _nLeftarrow()
           
 void _nleftrightarrow()
           
 void _nLeftrightarrow()
           
 void _normalsize()
           
 void _not()
           
 void _notElementIn()
           
 void _nrightarrow()
           
 void _nRightarrow()
           
 void _nu()
           
 void _Nu()
           
 void _nwarrow()
           
 void _odot()
           
 void _oint()
           
 void _omega()
           
 void _Omega()
           
 void _ominus()
           
 void _oplus()
           
 void _oslash()
           
 void _otimes()
           
 void _overbrace()
           
 void _overleftarrow()
           
 void _overline()
           
 void _overrightarrow()
           
 void _paragraph()
           
 void _parallel()
           
 void _partial()
           
 void _percent()
           
 void _perp()
           
 void _phi()
           
 void _Phi()
           
 void _pi()
           
 void _Pi()
           
 void _pm()
           
 void _pmb()
           
 void _pound()
           
 void _Pr()
           
 void _prec()
           
 void _preceq()
           
 void _prime()
           
 void _prod()
           
 void _promille()
           
 void _proportional()
           
 void _propto()
           
 void _psi()
           
 void _Psi()
           
 void _pts()
           
 void _qquad()
           
 void _rangle()
           
 void _rbrace()
           
 void _rbracket()
           
 void _rceil()
           
 void _Re()
           
 void _red()
           
 void _rfloor()
           
 void _rgroup()
           
 void _rhd()
           
 void _rho()
           
 void _Rho()
           
 void _rightarrow()
           
 void _Rightarrow()
           
 void _rightharpoondown()
           
 void _rightharpoonup()
           
 void _rm()
           
 void _rmoustache()
           
 void _root()
           
 void _sc()
           
 void _searrow()
           
 void _sec()
           
 void _setminus()
           
 void _setN()
           
 void _setR()
           
 void _setZ()
           
 void _sevenpt()
           
 void _seventeenpt()
           
 void _seventypt()
           
 void _sharp()
           
 void _sigma()
           
 void _Sigma()
           
 void _sim()
           
 void _simeq()
           
 void _sin()
           
 void _sinh()
           
 void _sixpt()
           
 void _sixteenpt()
           
 void _sixtypt()
           
 void _sl()
           
 void _slash()
           
 void _small()
           
 void _smile()
           
 void _smiley()
           
 void _smileyblack()
           
 void _spadesuit()
           
 void _sqcap()
           
 void _sqcup()
           
 void _sqrt()
           
 void _sqrtn()
           
 void _sqsubset()
           
 void _sqsubseteq()
           
 void _sqsupset()
           
 void _sqsupseteq()
           
 void _square()
           
 void _star()
           
 void _subset()
           
 void _subseteq()
           
 void _succ()
           
 void _succeq()
           
 void _sum()
           
 void _sup()
           
 void _supset()
           
 void _supseteq()
           
 void _surd()
           
 void _swarrow()
           
 void _tan()
           
 void _tanh()
           
 void _tau()
           
 void _Tau()
           
 void _telephone()
           
 void _tenpt()
           
 void _theta()
           
 void _Theta()
           
 void _thinspace()
           
 void _thirteenpt()
           
 void _thirtyfivept()
           
 void _thirtypt()
           
 void _tilde()
           
 void _tildechar()
           
 void _times()
           
 void _tiny()
           
 void _top()
           
 void _triangle()
           
 void _triangleleft()
           
 void _triangleright()
           
 void _tt()
           
 void _twelvept()
           
 void _twentyeightpt()
           
 void _twentyfivept()
           
 void _twentyfourpt()
           
 void _twentyninept()
           
 void _twentyonept()
           
 void _twentypt()
           
 void _twentysevenpt()
           
 void _twentysixpt()
           
 void _twentythreept()
           
 void _twentytwopt()
           
 void _underbrace()
           
 void _underline()
           
 void _unlhd()
           
 void _unrhd()
           
 void _uparrow()
           
 void _Uparrow()
           
 void _updownarrow()
           
 void _Updownarrow()
           
 void _uplus()
           
 void _upsilon()
           
 void _Upsilon()
           
 void _varepsilon()
           
 void _varnothing()
           
 void _varphi()
           
 void _varpi()
           
 void _varpropto()
           
 void _varrho()
           
 void _varsigma()
           
 void _vartheta()
           
 void _vdash()
           
 void _vdots()
           
 void _vec()
           
 void _vee()
           
 void _verticalbar()
           
 void _wedge()
           
 void _white()
           
 void _widehat()
           
 void _widetilde()
           
 void _wp()
           
 void _wr()
           
 void _xi()
           
 void _Xi()
           
 void _xiiipt()
           
 void _xiipt()
           
 void _xipt()
           
 void _xivpt()
           
 void _xixpt()
           
 void _xlpt()
           
 void _xpt()
           
 void _xviiipt()
           
 void _xviipt()
           
 void _xvipt()
           
 void _xvpt()
           
 void _xxiiipt()
           
 void _xxiipt()
           
 void _xxipt()
           
 void _xxivpt()
           
 void _xxpt()
           
 void _xxviipt()
           
 void _xxvipt()
           
 void _xxvpt()
           
 void _xxxpt()
           
 void _xxxvpt()
           
 void _yellow()
           
 void _zeta()
           
 void _Zeta()
           
 void append(SimpleLatexParser.Box box)
           
 SimpleLatexParser.Box buildBox()
          build a compound set of nested Boxes for the given array of tokens, starting with the specified FIG font in the given size.
 void convertToFig(FigCompound compound)
           
 void dumpTokens()
           
 void FIXME(java.lang.String s)
           
 java.lang.Object getState()
           
(package private)  void greek(java.lang.String s)
           
 void handleCommand(java.lang.String command)
           
 boolean isAscii(char c)
           
 boolean isDigit(char c)
           
 boolean isMathSymbol(char c)
           
 boolean isPunctuation(char c)
           
 boolean isTextToken(char c)
           
 boolean isUmlaut(char c)
           
 boolean isWhitespace(char c)
           
static void main(java.lang.String[] argv)
           
(package private)  void mathfunction(java.lang.String s)
           
static void msg(java.lang.String s)
           
 void parse(java.lang.String s)
           
 void selftest(java.lang.String s)
           
 void setColorIndex(int colorIndex)
           
 void setEnableDisplayBoxes(boolean b)
           
 void setEnableDumpTokens(boolean b)
           
 void setFontIndex(int fontIndex)
           
 void setFontPtSize(int ptSize)
           
 void setState(java.lang.Object tmp)
           
(package private)  void space(int points)
           
(package private)  void tokenize(java.lang.String line)
          tokenize one line of text input using the TeX grammar.
(package private)  void unicode(java.lang.String s)
           
static void usage()
           
(package private)  void writeFigHeader(java.io.PrintStream ps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

boolean debug

dump_tokens

boolean dump_tokens

display_boxes

boolean display_boxes

colorCache

ColorCache colorCache

fontCache

FontCache fontCache

mathFontIndex

int mathFontIndex

mathGreekFontIndex

int mathGreekFontIndex

mathSymbolFontIndex

int mathSymbolFontIndex

token

java.lang.StringBuffer token

tokens

java.util.Vector tokens

types

java.util.Vector types

stack

java.util.Stack stack

master

SimpleLatexParser.Box master

current

SimpleLatexParser.Box current

fontIndex

int fontIndex

ptSize

int ptSize

colorIndex

int colorIndex

italic_correction

int italic_correction

INVALID

static final int INVALID
See Also:
Constant Field Values

TEXT

static final int TEXT
See Also:
Constant Field Values

COMMAND

static final int COMMAND
See Also:
Constant Field Values

MATH

static final int MATH
See Also:
Constant Field Values

BEGINGROUP

static final int BEGINGROUP
See Also:
Constant Field Values

ENDGROUP

static final int ENDGROUP
See Also:
Constant Field Values

CONTROL

static final int CONTROL
See Also:
Constant Field Values

BEGINMATH

static final int BEGINMATH
See Also:
Constant Field Values

ENDMATH

static final int ENDMATH
See Also:
Constant Field Values

SUPERSCRIPT

static final int SUPERSCRIPT
See Also:
Constant Field Values

SUBSCRIPT

static final int SUBSCRIPT
See Also:
Constant Field Values

MATHSYMBOL

static final int MATHSYMBOL
See Also:
Constant Field Values

_mode_names

static final java.lang.String[] _mode_names

subscriptPtSizes

public final int[][] subscriptPtSizes

count

static int count
Constructor Detail

SimpleLatexParser

public SimpleLatexParser()
Method Detail

tokenize

void tokenize(java.lang.String line)
tokenize one line of text input using the TeX grammar. This method currently recognizes and supports the following constructs:


isTextToken

public boolean isTextToken(char c)

isAscii

public boolean isAscii(char c)

isUmlaut

public boolean isUmlaut(char c)

isDigit

public boolean isDigit(char c)

isWhitespace

public boolean isWhitespace(char c)

isPunctuation

public boolean isPunctuation(char c)

isMathSymbol

public boolean isMathSymbol(char c)

dumpTokens

public void dumpTokens()

getState

public java.lang.Object getState()

setState

public void setState(java.lang.Object tmp)

append

public void append(SimpleLatexParser.Box box)

buildBox

public SimpleLatexParser.Box buildBox()
build a compound set of nested Boxes for the given array of tokens, starting with the specified FIG font in the given size.


handleCommand

public void handleCommand(java.lang.String command)

FIXME

public void FIXME(java.lang.String s)

_bf

public void _bf()

_em

public void _em()

_rm

public void _rm()

_sl

public void _sl()

_sc

public void _sc()

_mathrm

public void _mathrm()
request roman font in math mode. In TeX, this command takes one argument, but we just change the font index globally here. This works in both TeX/LaTeX and jfig2 if you use the following idiom: $math italic text {\mathrm{math roman}} more math italic$.


_tt

public void _tt()

_btt

public void _btt()

_itt

public void _itt()

_black

public void _black()

_red

public void _red()

_green

public void _green()

_blue

public void _blue()

_cyan

public void _cyan()

_magenta

public void _magenta()

_yellow

public void _yellow()

_white

public void _white()

_darkblue

public void _darkblue()

_lightblue

public void _lightblue()

_darkgreen

public void _darkgreen()

_darkred

public void _darkred()

_darkpink

public void _darkpink()

_gold

public void _gold()

_fivept

public void _fivept()

_sixpt

public void _sixpt()

_sevenpt

public void _sevenpt()

_eightpt

public void _eightpt()

_ninept

public void _ninept()

_tenpt

public void _tenpt()

_elevenpt

public void _elevenpt()

_twelvept

public void _twelvept()

_thirteenpt

public void _thirteenpt()

_fourteenpt

public void _fourteenpt()

_fifteenpt

public void _fifteenpt()

_sixteenpt

public void _sixteenpt()

_seventeenpt

public void _seventeenpt()

_eightteenpt

public void _eightteenpt()

_nineteenpt

public void _nineteenpt()

_twentypt

public void _twentypt()

_twentyonept

public void _twentyonept()

_twentytwopt

public void _twentytwopt()

_twentythreept

public void _twentythreept()

_twentyfourpt

public void _twentyfourpt()

_twentyfivept

public void _twentyfivept()

_twentysixpt

public void _twentysixpt()

_twentysevenpt

public void _twentysevenpt()

_twentyeightpt

public void _twentyeightpt()

_twentyninept

public void _twentyninept()

_thirtypt

public void _thirtypt()

_thirtyfivept

public void _thirtyfivept()

_fourtypt

public void _fourtypt()

_fourtyfivept

public void _fourtyfivept()

_fiftypt

public void _fiftypt()

_fiftyfivept

public void _fiftyfivept()

_sixtypt

public void _sixtypt()

_seventypt

public void _seventypt()

_eightypt

public void _eightypt()

_ninetypt

public void _ninetypt()

_hundredpt

public void _hundredpt()

_xpt

public void _xpt()

_xipt

public void _xipt()

_xiipt

public void _xiipt()

_xiiipt

public void _xiiipt()

_xivpt

public void _xivpt()

_xvpt

public void _xvpt()

_xvipt

public void _xvipt()

_xviipt

public void _xviipt()

_xviiipt

public void _xviiipt()

_xixpt

public void _xixpt()

_xxpt

public void _xxpt()

_xxipt

public void _xxipt()

_xxiipt

public void _xxiipt()

_xxiiipt

public void _xxiiipt()

_xxivpt

public void _xxivpt()

_xxvpt

public void _xxvpt()

_xxvipt

public void _xxvipt()

_xxviipt

public void _xxviipt()

_xxxpt

public void _xxxpt()

_xxxvpt

public void _xxxvpt()

_xlpt

public void _xlpt()

_footnotesize

public void _footnotesize()

_tiny

public void _tiny()

_small

public void _small()

_normalsize

public void _normalsize()

_large

public void _large()

_Large

public void _Large()

_LARGE

public void _LARGE()

_huge

public void _huge()

_hashsign

public void _hashsign()

_atsign

public void _atsign()

_lbracket

public void _lbracket()

_backslash

public void _backslash()

_rbracket

public void _rbracket()

_lessthan

public void _lessthan()

_equals

public void _equals()

_greaterthan

public void _greaterthan()

_proportional

public void _proportional()

_approxeq

public void _approxeq()

_lbrace

public void _lbrace()

_verticalbar

public void _verticalbar()

_rbrace

public void _rbrace()

_tildechar

public void _tildechar()

_not

public void _not()

_pmb

public void _pmb()

_frac

public void _frac()

_hat

public void _hat()

_check

public void _check()

_acute

public void _acute()

_grave

public void _grave()

_brave

public void _brave()

_bar

public void _bar()

_vec

public void _vec()

_dot

public void _dot()

_ddot

public void _ddot()

_tilde

public void _tilde()

_alpha

public void _alpha()

_beta

public void _beta()

_gamma

public void _gamma()

_delta

public void _delta()

_epsilon

public void _epsilon()

_varepsilon

public void _varepsilon()

_zeta

public void _zeta()

_eta

public void _eta()

_theta

public void _theta()

_vartheta

public void _vartheta()

_iota

public void _iota()

_kappa

public void _kappa()

_lambda

public void _lambda()

_mu

public void _mu()

_nu

public void _nu()

_xi

public void _xi()

_greeko

public void _greeko()

_pi

public void _pi()

_varpi

public void _varpi()

_rho

public void _rho()

_varrho

public void _varrho()

_sigma

public void _sigma()

_varsigma

public void _varsigma()

_tau

public void _tau()

_upsilon

public void _upsilon()

_phi

public void _phi()

_varphi

public void _varphi()

_chi

public void _chi()

_psi

public void _psi()

_omega

public void _omega()

_Alpha

public void _Alpha()

_Beta

public void _Beta()

_Gamma

public void _Gamma()

_Delta

public void _Delta()

_Epsilon

public void _Epsilon()

_Zeta

public void _Zeta()

_Eta

public void _Eta()

_Theta

public void _Theta()

_Iota

public void _Iota()

_Kappa

public void _Kappa()

_Lambda

public void _Lambda()

_Mu

public void _Mu()

_Nu

public void _Nu()

_Xi

public void _Xi()

_Greeko

public void _Greeko()

_Pi

public void _Pi()

_Rho

public void _Rho()

_Sigma

public void _Sigma()

_Tau

public void _Tau()

_Upsilon

public void _Upsilon()

_Phi

public void _Phi()

_Chi

public void _Chi()

_Psi

public void _Psi()

_Omega

public void _Omega()

_pm

public void _pm()

_cap

public void _cap()

_diamond

public void _diamond()

_oplus

public void _oplus()

_mp

public void _mp()

_cup

public void _cup()

_bigtriangleup

public void _bigtriangleup()

_ominus

public void _ominus()

_times

public void _times()

_uplus

public void _uplus()

_bigtriangledown

public void _bigtriangledown()

_otimes

public void _otimes()

_div

public void _div()

_sqcap

public void _sqcap()

_triangleleft

public void _triangleleft()

_oslash

public void _oslash()

_ast

public void _ast()

_sqcup

public void _sqcup()

_triangleright

public void _triangleright()

_odot

public void _odot()

_star

public void _star()

_vee

public void _vee()

_lhd

public void _lhd()

_bigcirc

public void _bigcirc()

_circ

public void _circ()

_wedge

public void _wedge()

_rhd

public void _rhd()

_dagger

public void _dagger()

_bullet

public void _bullet()

_setminus

public void _setminus()

_unlhd

public void _unlhd()

_ddagger

public void _ddagger()

_cdot

public void _cdot()

_wr

public void _wr()

_unrhd

public void _unrhd()

_amalg

public void _amalg()

_leq

public void _leq()

_le

public void _le()

_geq

public void _geq()

_equiv

public void _equiv()

_models

public void _models()

_prec

public void _prec()

_succ

public void _succ()

_sim

public void _sim()

_perp

public void _perp()

_preceq

public void _preceq()

_succeq

public void _succeq()

_simeq

public void _simeq()

_mid

public void _mid()

_ll

public void _ll()

_gg

public void _gg()

_asymp

public void _asymp()

_parallel

public void _parallel()

_subset

public void _subset()

_supset

public void _supset()

_approx

public void _approx()

_bowtie

public void _bowtie()

_subseteq

public void _subseteq()

_supseteq

public void _supseteq()

_cong

public void _cong()

_Join

public void _Join()

_sqsubset

public void _sqsubset()

_sqsupset

public void _sqsupset()

_neq

public void _neq()

_smile

public void _smile()

_sqsubseteq

public void _sqsubseteq()

_sqsupseteq

public void _sqsupseteq()

_doteq

public void _doteq()

_frown

public void _frown()

_in

public void _in()

_ni

public void _ni()

_propto

public void _propto()

_vdash

public void _vdash()

_dashv

public void _dashv()

_leftarrow

public void _leftarrow()

_longleftarrow

public void _longleftarrow()

_uparrow

public void _uparrow()

_Leftarrow

public void _Leftarrow()

_LongLeftarrow

public void _LongLeftarrow()

_Uparrow

public void _Uparrow()

_rightarrow

public void _rightarrow()

_longrightarrow

public void _longrightarrow()

_downarrow

public void _downarrow()

_Rightarrow

public void _Rightarrow()

_Longrightarrow

public void _Longrightarrow()

_Downarrow

public void _Downarrow()

_leftrightarrow

public void _leftrightarrow()

_longleftrightarrow

public void _longleftrightarrow()

_updownarrow

public void _updownarrow()

_Leftrightarrow

public void _Leftrightarrow()

_Longleftrightarrow

public void _Longleftrightarrow()

_Updownarrow

public void _Updownarrow()

_mapsto

public void _mapsto()

_longmapsto

public void _longmapsto()

_nearrow

public void _nearrow()

_hookleftarrow

public void _hookleftarrow()

_hookrightarrow

public void _hookrightarrow()

_searrow

public void _searrow()

_leftharpoonup

public void _leftharpoonup()

_rightharpoonup

public void _rightharpoonup()

_swarrow

public void _swarrow()

_leftharpoondown

public void _leftharpoondown()

_rightharpoondown

public void _rightharpoondown()

_nwarrow

public void _nwarrow()

_ldots

public void _ldots()

_cdots

public void _cdots()

_vdots

public void _vdots()

_ddots

public void _ddots()

_aleph

public void _aleph()

_prime

public void _prime()

_forall

public void _forall()

_infty

public void _infty()

_hbar

public void _hbar()

_emptyset

public void _emptyset()

_exists

public void _exists()

_nabla

public void _nabla()

_surd

public void _surd()

_Box

public void _Box()

_triangle

public void _triangle()

_Diamond

public void _Diamond()

_imath

public void _imath()

_jmath

public void _jmath()

_ell

public void _ell()

_neg

public void _neg()

_top

public void _top()

_flat

public void _flat()

_natural

public void _natural()

_sharp

public void _sharp()

_wp

public void _wp()

_bot

public void _bot()

_clubsuit

public void _clubsuit()

_diamondsuit

public void _diamondsuit()

_heartsuit

public void _heartsuit()

_spadesuit

public void _spadesuit()

_mho

public void _mho()

_Re

public void _Re()

_Im

public void _Im()

_angle

public void _angle()

_partial

public void _partial()

_sum

public void _sum()

_prod

public void _prod()

_coprod

public void _coprod()

_int

public void _int()

_oint

public void _oint()

_bigcap

public void _bigcap()

_bigcup

public void _bigcup()

_bigsqcup

public void _bigsqcup()

_bigvee

public void _bigvee()

_bigwedge

public void _bigwedge()

_bigodot

public void _bigodot()

_bigotimes

public void _bigotimes()

_bigoplus

public void _bigoplus()

_biguplus

public void _biguplus()

_arccos

public void _arccos()

_arcsin

public void _arcsin()

_arctan

public void _arctan()

_arg

public void _arg()

_atan

public void _atan()

_cos

public void _cos()

_cosh

public void _cosh()

_cot

public void _cot()

_coth

public void _coth()

_csc

public void _csc()

_deg

public void _deg()

_det

public void _det()

_dim

public void _dim()

_exp

public void _exp()

_gcd

public void _gcd()

_hom

public void _hom()

_inf

public void _inf()

_ker

public void _ker()

_lg

public void _lg()

_lim

public void _lim()

_liminf

public void _liminf()

_limsup

public void _limsup()

_ln

public void _ln()

_log

public void _log()

_max

public void _max()

_min

public void _min()

_Pr

public void _Pr()

_sec

public void _sec()

_sin

public void _sin()

_sinh

public void _sinh()

_sup

public void _sup()

_tan

public void _tan()

_tanh

public void _tanh()

_lfloor

public void _lfloor()

_rfloor

public void _rfloor()

_lceil

public void _lceil()

_rceil

public void _rceil()

_langle

public void _langle()

_rangle

public void _rangle()

_slash

public void _slash()

_dverticalbar

public void _dverticalbar()

_rmoustache

public void _rmoustache()

_lmoustache

public void _lmoustache()

_rgroup

public void _rgroup()

_lgroup

public void _lgroup()

_arrowvert

public void _arrowvert()

_Arrowvert

public void _Arrowvert()

_bracevert

public void _bracevert()

_widetilde

public void _widetilde()

_widehat

public void _widehat()

_overleftarrow

public void _overleftarrow()

_overrightarrow

public void _overrightarrow()

_overline

public void _overline()

_underline

public void _underline()

_overbrace

public void _overbrace()

_underbrace

public void _underbrace()

_sqrt

public void _sqrt()

_sqrtn

public void _sqrtn()

_digamma

public void _digamma()

_beth

public void _beth()

_daleth

public void _daleth()

_gimel

public void _gimel()

_looparrowleft

public void _looparrowleft()

_looparrowright

public void _looparrowright()

_leftrightsquigarrow

public void _leftrightsquigarrow()

_circlearrowleft

public void _circlearrowleft()

_circlearrowright

public void _circlearrowright()

_nleftarrow

public void _nleftarrow()

_nrightarrow

public void _nrightarrow()

_nleftrightarrow

public void _nleftrightarrow()

_nLeftarrow

public void _nLeftarrow()

_nLeftrightarrow

public void _nLeftrightarrow()

_nRightarrow

public void _nRightarrow()

_define

public void _define()

_lll

public void _lll()

_ggg

public void _ggg()

_cdotvar

public void _cdotvar()

_minus

public void _minus()

_euro

public void _euro()

_pound

public void _pound()

_pts

public void _pts()

_percent

public void _percent()

_promille

public void _promille()

_copyright

public void _copyright()

_paragraph

public void _paragraph()

_degrees

public void _degrees()

_setZ

public void _setZ()

_setN

public void _setN()

_setR

public void _setR()

_celsius

public void _celsius()

_fahrenheit

public void _fahrenheit()

_complement

public void _complement()

_nexists

public void _nexists()

_varnothing

public void _varnothing()

_notElementIn

public void _notElementIn()

_mathEpsilon

public void _mathEpsilon()

_square

public void _square()

_mathslash

public void _mathslash()

_root

public void _root()

_cubicroot

public void _cubicroot()

_fourthroot

public void _fourthroot()

_varpropto

public void _varpropto()

_iint

public void _iint()

_iiint

public void _iiint()

_telephone

public void _telephone()

_smiley

public void _smiley()

_smileyblack

public void _smileyblack()

_male

public void _male()

_female

public void _female()

_thinspace

public void _thinspace()

_qquad

public void _qquad()

_emspace

public void _emspace()

greek

void greek(java.lang.String s)

unicode

void unicode(java.lang.String s)

mathfunction

void mathfunction(java.lang.String s)

space

void space(int points)

writeFigHeader

void writeFigHeader(java.io.PrintStream ps)

setFontIndex

public void setFontIndex(int fontIndex)

setFontPtSize

public void setFontPtSize(int ptSize)

setColorIndex

public void setColorIndex(int colorIndex)

parse

public void parse(java.lang.String s)

convertToFig

public void convertToFig(FigCompound compound)

selftest

public void selftest(java.lang.String s)

setEnableDisplayBoxes

public void setEnableDisplayBoxes(boolean b)

setEnableDumpTokens

public void setEnableDumpTokens(boolean b)

msg

public static void msg(java.lang.String s)

usage

public static void usage()

main

public static void main(java.lang.String[] argv)