|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jfig.utils.LP2
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,
Notes: cmsy10.ttf: "<=" = 0x2219
cmmi10.ttf "\kappa" = 0x2219
Nested Class Summary | |
class |
LP2.Box
like TeX, we try to abut aligned Box'es, each of which consists of other Boxes in turn, with single character CharBoxes as the basic building blocks. |
class |
LP2.CharBox
a CharBox that holds a single character or a string of characters of the specified font. |
class |
LP2.CommandBox
a class to encapsulate a LaTeX command with arguments |
class |
LP2.GroupBox
a GroupBox corresponds to a TeX/LaTeX group and therefore is limited by a '{' and '}' pair of braces. |
class |
LP2.SqrtBox
|
class |
LP2.StackBox
a StackBox manages three entries for boxes stacked one upon each other: bottom, center, and top. |
class |
LP2.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) static int |
CMANY
|
(package private) static int |
CMERR
|
(package private) static int |
CMEX
|
(package private) static int |
CMMI
|
(package private) static int |
CMR
|
(package private) static int |
CMSL
|
(package private) static int |
CMSS
|
(package private) static int |
CMSY
|
(package private) static int |
CMTT
|
(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) LP2.Box |
current
|
(package private) static boolean |
debug
|
(package private) java.util.Stack |
delayedCommandStack
|
(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) int |
fontMode
|
(package private) static java.awt.Graphics2D |
imageGraphics2D
|
(package private) static int |
INVALID
|
(package private) int |
italic_correction
|
(package private) java.lang.String |
line
|
(package private) LP2.Box |
master
|
(package private) static int |
MATH
|
(package private) int |
mathBackupFontIndex
|
(package private) static int |
MATHDIGIT
|
(package private) int |
mathFontIndex
|
(package private) int |
mathGreekFontIndex
|
(package private) static int |
MATHSYMBOL
|
(package private) int |
mathSymbolFontIndex
|
(package private) int |
mode
|
(package private) static int |
MSAM
|
(package private) static int |
MSBM
|
(package private) java.lang.Object |
pdfMapper
|
(package private) int |
pos
|
(package private) int |
ptBaseSize
|
(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) static int |
THINSPACE
|
(package private) java.lang.StringBuffer |
token
|
(package private) java.util.Vector |
tokens
|
(package private) java.util.Vector |
types
|
(package private) static java.util.Hashtable |
undefinedCommandWarningsTable
|
(package private) static int |
USE_CM_FONTS
|
(package private) static int |
USE_LUCIDA_FONTS
|
(package private) static int |
USE_SYMBOL_FONT
|
(package private) boolean |
use_word_boxes
|
Constructor Summary | |
LP2()
|
Method Summary | |
LP2.Box |
__make_line(double x,
double y,
double width)
create a thin horizontal line of the given width (i.e. |
void |
__space(int pixels)
|
int |
_acute(java.lang.Object[] a)
|
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()
|
int |
_bar(java.lang.Object[] a)
|
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 |
_btt()
|
void |
_buildrel()
|
void |
_bullet()
|
void |
_calA()
|
void |
_calB()
|
void |
_calC()
|
void |
_calD()
|
void |
_calE()
|
void |
_calF()
|
void |
_calG()
|
void |
_calH()
|
void |
_calI()
|
void |
_calJ()
|
void |
_calK()
|
void |
_calL()
|
void |
_calM()
|
void |
_calN()
|
void |
_calO()
|
void |
_calP()
|
void |
_calQ()
|
void |
_calR()
|
void |
_calS()
|
void |
_calT()
|
void |
_calU()
|
void |
_calV()
|
void |
_calW()
|
void |
_calX()
|
void |
_calY()
|
void |
_calZ()
|
void |
_cap()
|
void |
_cdot()
|
void |
_cdots_internal()
|
void |
_cdots()
|
void |
_cdotvar()
|
void |
_celsius()
|
int |
_check(java.lang.Object[] a)
|
void |
_chi()
|
void |
_Chi()
|
void |
_circ()
|
void |
_circlearrowleft()
|
void |
_circlearrowright()
|
void |
_clubsuit()
|
void |
_colon()
|
void |
_complement()
|
void |
_cong()
|
void |
_coprod()
|
void |
_copyright()
|
void |
_cos()
|
void |
_cosh()
|
void |
_cot()
|
void |
_coth()
|
void |
_csc()
|
int |
_cstack(java.lang.Object[] args)
|
void |
_cubicroot()
|
void |
_cup()
|
void |
_cyan()
|
void |
_dag()
|
void |
_dagger()
|
void |
_daleth()
|
void |
_darkblue()
|
void |
_darkgreen()
|
void |
_darkpink()
|
void |
_darkred()
|
void |
_dashv()
|
void |
_ddag()
|
void |
_ddagger()
|
int |
_ddot(java.lang.Object[] a)
|
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()
|
int |
_dot(java.lang.Object[] a)
|
void |
_doteq()
|
void |
_doublebar()
|
void |
_downarrow()
|
void |
_Downarrow()
|
int |
_dq(java.lang.Object[] a)
|
void |
_eightpt()
|
void |
_eightteenpt()
|
void |
_eightypt()
|
void |
_elevenpt()
|
void |
_ell()
|
void |
_em()
|
void |
_emptyset()
|
void |
_emspace()
|
void |
_epsilon()
|
void |
_Epsilon()
|
void |
_equalchar()
|
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()
|
int |
_frac(java.lang.Object[] args)
|
void |
_frown()
|
void |
_gamma()
|
void |
_Gamma()
|
void |
_gcd()
|
void |
_ge()
|
void |
_geq()
|
void |
_gets()
|
void |
_gg()
|
void |
_ggg()
|
void |
_gimel()
|
void |
_gold()
|
int |
_grave(java.lang.Object[] a)
|
void |
_greaterchar()
|
void |
_greaterthan()
|
void |
_greeko()
|
void |
_Greeko()
|
void |
_green()
|
void |
_hashsign()
|
int |
_hat(java.lang.Object[] a)
|
void |
_hbar()
|
void |
_heartsuit()
|
void |
_hom()
|
void |
_hookleftarrow()
|
void |
_hookrightarrow()
|
void |
_huge()
|
void |
_Huge()
|
void |
_hundredpt()
|
void |
_iff()
|
void |
_iiint()
|
void |
_iint()
|
void |
_Im()
|
void |
_imath()
|
void |
_in()
|
void |
_inf()
|
void |
_infty()
|
void |
_Int_BEGIN()
|
void |
_int()
|
int |
_Int(java.lang.Object[] args)
big integral symbol with super/subscripts above and below |
void |
_iota()
|
void |
_Iota()
|
void |
_it()
|
void |
_itt()
|
void |
_jmath()
|
void |
_Join()
|
void |
_kappa()
|
void |
_Kappa()
|
void |
_ker()
|
void |
_lambda()
|
void |
_Lambda()
|
void |
_land()
|
void |
_langle()
|
void |
_large()
|
void |
_Large()
|
void |
_LARGE()
|
void |
_lbrace()
|
void |
_lbrack()
|
void |
_lbracket()
|
void |
_lceil()
|
void |
_ldots_internal()
|
void |
_ldots()
|
void |
_le()
|
void |
_leftarrow()
|
void |
_Leftarrow()
|
void |
_leftharpoondown()
|
void |
_leftharpoonup()
|
void |
_leftrightarrow()
|
void |
_Leftrightarrow()
|
void |
_leftrightsquigarrow()
|
void |
_leq()
|
void |
_lesschar()
|
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 |
_lnot()
|
void |
_log()
|
void |
_longleftarrow()
|
void |
_Longleftarrow()
|
void |
_longleftrightarrow()
|
void |
_Longleftrightarrow()
|
void |
_longmapsto()
|
void |
_longrightarrow()
|
void |
_Longrightarrow()
|
void |
_looparrowleft()
|
void |
_looparrowright()
|
void |
_lor()
|
int |
_lstack(java.lang.Object[] args)
|
void |
_magenta()
|
void |
_male()
|
void |
_mapsto()
|
void |
_mathrm()
request roman font in math mode. |
void |
_mathslash()
|
void |
_max()
|
void |
_mbackslash()
|
void |
_mho()
|
void |
_mid()
|
void |
_min()
|
void |
_minus()
|
void |
_models()
|
void |
_mp()
|
void |
_mskip_back()
|
void |
_mskip_med()
|
void |
_mskip_thick()
|
void |
_mskip_thin()
|
void |
_mu()
|
void |
_Mu()
|
void |
_nabla()
|
void |
_natural()
|
void |
_ne()
|
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_internal()
|
void |
_not()
put a slash through the following relation symbol. |
void |
_notin()
|
void |
_nrightarrow()
|
void |
_nRightarrow()
|
void |
_nu()
|
void |
_Nu()
|
void |
_nwarrow()
|
void |
_odot()
|
void |
_oint()
|
void |
_oldstyle()
|
void |
_omega()
|
void |
_Omega()
|
void |
_ominus()
|
void |
_oplus()
|
void |
_oslash()
|
void |
_otimes()
|
void |
_over()
|
int |
_overbrace()
|
void |
_overleftarrow()
|
int |
_overline(java.lang.Object[] args)
|
void |
_overrightarrow()
|
void |
_owns()
|
void |
_P()
|
void |
_paragraph()
|
void |
_parallel()
|
void |
_partial()
|
void |
_percent()
|
void |
_perp()
|
void |
_phi()
|
void |
_Phi()
|
void |
_pi()
|
void |
_Pi()
|
void |
_pm()
|
int |
_pmb()
|
void |
_pound()
|
void |
_Pr()
|
void |
_prec()
|
void |
_preceq()
|
void |
_prime()
|
void |
_Prod_BEGIN()
|
void |
_prod()
|
int |
_Prod(java.lang.Object[] args)
product symbol with super/subscripts above and below |
void |
_promille()
|
void |
_proportional()
|
void |
_propto()
|
void |
_psi()
|
void |
_Psi()
|
void |
_pts()
|
void |
_qquad()
|
void |
_rangle()
|
void |
_rbrace()
|
void |
_rbrack()
|
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 |
_rightleftharpoons()
|
void |
_rm()
|
void |
_rmoustache()
|
void |
_root()
|
int |
_rstack(java.lang.Object[] args)
|
void |
_S()
|
void |
_sc()
|
void |
_scriptsize()
|
void |
_searrow()
|
void |
_sec()
|
void |
_setminus()
|
void |
_setN()
|
void |
_setR()
|
void |
_setZ()
|
void |
_sevenpt()
|
void |
_seventeenpt()
|
void |
_seventypt()
|
void |
_sf()
|
void |
_sgn()
|
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()
|
int |
_sqrt(java.lang.Object[] args)
|
int |
_sqrtn()
|
void |
_sqsubset()
|
void |
_sqsubseteq()
|
void |
_sqsupset()
|
void |
_sqsupseteq()
|
void |
_square()
|
void |
_star()
|
void |
_strut()
|
void |
_subset()
|
void |
_subseteq()
|
void |
_succ()
|
void |
_succeq()
|
void |
_Sum_BEGIN()
|
void |
_sum()
|
int |
_Sum(java.lang.Object[] args)
sum symbol with super/subscripts above and below |
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()
|
int |
_tilde(java.lang.Object[] a)
|
void |
_tildechar()
|
void |
_times()
|
void |
_tiny()
|
void |
_to()
|
void |
_today()
|
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()
|
int |
_underbrace()
|
int |
_underline(java.lang.Object[] args)
|
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()
|
int |
_vec(java.lang.Object[] a)
|
void |
_vee()
|
void |
_vert()
|
void |
_Vert()
|
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()
|
int |
accent(java.lang.String cmd,
java.lang.Object[] args)
if called with args=null, return number of expected arguments, i.e. |
(package private) void |
addMathSpaceToken()
|
(package private) void |
addShortCommandToken(java.lang.String s)
|
void |
append(LP2.Box box)
|
(package private) void |
big_opr(java.lang.String s,
int cmfont,
int c)
big operator symbol, no display-math super/subscripts yet |
(package private) void |
binaryop(java.lang.String s,
int cmfont,
int c)
thinspace, operator, thinspace |
LP2.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 |
buildBoxHandleBeginCommand(java.lang.String cmd,
int n_args)
|
void |
buildBoxHandleBeginGroup()
called from buildBox() when a BEGIN_GROUP or BEGIN_MATH is encountered |
void |
buildBoxHandleEndGroup()
called from buildBox() when an END_GROUP or END_MATH is encountered |
(package private) void |
calli(java.lang.String s,
int cmfont,
int c)
|
void |
convertToFig(FigCompound compound)
|
void |
dumpTokens()
|
void |
FIXME(java.lang.String s)
|
java.lang.Object |
getState()
|
int |
getStringWidthPoints(int fontIndex,
int ptSize,
java.lang.String s)
|
(package private) void |
greek(java.lang.String s)
|
(package private) void |
greek(java.lang.String s,
int cmfont,
int c)
|
(package private) java.lang.String |
handle_double_quote()
|
int |
handleCommand(java.lang.String command)
look for a public method called ("_" + command) and try to execute it. |
int |
handleCommand(java.lang.String command,
java.lang.Object[] args)
|
void |
handleMathDigit(java.lang.String token)
|
void |
handleMathSymbol(java.lang.String token)
|
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)
|
(package private) void |
relation(java.lang.String s,
int cmfont,
int c)
thinspace, operator, thinspace |
(package private) void |
relation(java.lang.String s,
int cmfont1,
int c1,
int cmfont2,
int c2,
int dx)
|
void |
selftest(java.lang.String s)
|
void |
setColorIndex(int colorIndex)
|
void |
setEnableDisplayBoxes(boolean b)
|
void |
setEnableDumpTokens(boolean b)
|
void |
setFontIndex(int fontIndex)
|
void |
setFontMode(int mode)
|
void |
setFontPtSize(int ptSize)
|
void |
setPDFMapper(java.lang.Object _mapper)
hack to allow itext PDF export to change font metrics as needed |
void |
setState(java.lang.Object tmp)
|
void |
setUseWords(boolean b)
whether or not to concatenate CharBoxes with matching attributes |
(package private) void |
space(int points)
|
(package private) java.lang.String |
tokenize_command()
|
(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)
|
(package private) void |
unicode(java.lang.String s,
int cmfont,
int c)
|
(package private) void |
unicode(java.lang.String s,
int cmfont1,
int c1,
int cmfont2,
int c2,
int dx)
|
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 |
static boolean debug
boolean dump_tokens
boolean display_boxes
boolean use_word_boxes
static final int THINSPACE
static final int USE_LUCIDA_FONTS
static final int USE_CM_FONTS
static final int USE_SYMBOL_FONT
static final int CMERR
static final int CMANY
static final int CMR
static final int CMMI
static final int CMSS
static final int CMSL
static final int CMSY
static final int CMTT
static final int CMEX
static final int MSAM
static final int MSBM
int fontMode
int mathFontIndex
int mathGreekFontIndex
int mathSymbolFontIndex
int mathBackupFontIndex
ColorCache colorCache
FontCache fontCache
java.lang.StringBuffer token
java.util.Vector tokens
java.util.Vector types
java.lang.String line
int pos
int mode
java.util.Stack stack
java.util.Stack delayedCommandStack
LP2.Box master
LP2.Box current
int fontIndex
int ptBaseSize
int ptSize
int colorIndex
int italic_correction
java.lang.Object pdfMapper
static java.awt.Graphics2D imageGraphics2D
static java.util.Hashtable undefinedCommandWarningsTable
static final int INVALID
static final int TEXT
static final int COMMAND
static final int MATH
static final int BEGINGROUP
static final int ENDGROUP
static final int CONTROL
static final int BEGINMATH
static final int ENDMATH
static final int SUPERSCRIPT
static final int SUBSCRIPT
static final int MATHSYMBOL
static final int MATHDIGIT
static final java.lang.String[] _mode_names
public final int[][] subscriptPtSizes
static int count
Constructor Detail |
public LP2()
Method Detail |
public void setFontMode(int mode)
public void setPDFMapper(java.lang.Object _mapper)
public int getStringWidthPoints(int fontIndex, int ptSize, java.lang.String s)
java.lang.String tokenize_command()
java.lang.String handle_double_quote()
void addShortCommandToken(java.lang.String s)
void addMathSpaceToken()
void tokenize(java.lang.String _line)
\$ \% \& \"
"a "A "o "O "u "U "s
public boolean isTextToken(char c)
public boolean isAscii(char c)
public boolean isUmlaut(char c)
public boolean isDigit(char c)
public boolean isWhitespace(char c)
public boolean isPunctuation(char c)
public boolean isMathSymbol(char c)
public void dumpTokens()
public java.lang.Object getState()
public void setState(java.lang.Object tmp)
public void append(LP2.Box box)
public LP2.Box buildBox()
public void buildBoxHandleBeginGroup()
public void buildBoxHandleBeginCommand(java.lang.String cmd, int n_args)
public void buildBoxHandleEndGroup()
public void handleMathSymbol(java.lang.String token)
public void handleMathDigit(java.lang.String token)
public int handleCommand(java.lang.String command)
public int handleCommand(java.lang.String command, java.lang.Object[] args)
public void FIXME(java.lang.String s)
public void _today()
public void _bf()
public void _it()
public void _em()
public void _rm()
public void _sf()
public void _sl()
public void _sc()
public void _mathrm()
$math italic text {\mathrm{math roman}} more math italic$.
public void _tt()
public void _btt()
public void _itt()
public void _black()
public void _red()
public void _green()
public void _blue()
public void _cyan()
public void _magenta()
public void _yellow()
public void _white()
public void _darkblue()
public void _lightblue()
public void _darkgreen()
public void _darkred()
public void _darkpink()
public void _gold()
public void _fivept()
public void _sixpt()
public void _sevenpt()
public void _eightpt()
public void _ninept()
public void _tenpt()
public void _elevenpt()
public void _twelvept()
public void _thirteenpt()
public void _fourteenpt()
public void _fifteenpt()
public void _sixteenpt()
public void _seventeenpt()
public void _eightteenpt()
public void _nineteenpt()
public void _twentypt()
public void _twentyonept()
public void _twentytwopt()
public void _twentythreept()
public void _twentyfourpt()
public void _twentyfivept()
public void _twentysixpt()
public void _twentysevenpt()
public void _twentyeightpt()
public void _twentyninept()
public void _thirtypt()
public void _thirtyfivept()
public void _fourtypt()
public void _fourtyfivept()
public void _fiftypt()
public void _fiftyfivept()
public void _sixtypt()
public void _seventypt()
public void _eightypt()
public void _ninetypt()
public void _hundredpt()
public void _xpt()
public void _xipt()
public void _xiipt()
public void _xiiipt()
public void _xivpt()
public void _xvpt()
public void _xvipt()
public void _xviipt()
public void _xviiipt()
public void _xixpt()
public void _xxpt()
public void _xxipt()
public void _xxiipt()
public void _xxiiipt()
public void _xxivpt()
public void _xxvpt()
public void _xxvipt()
public void _xxviipt()
public void _xxxpt()
public void _xxxvpt()
public void _xlpt()
public void _tiny()
public void _scriptsize()
public void _footnotesize()
public void _small()
public void _normalsize()
public void _large()
public void _Large()
public void _LARGE()
public void _huge()
public void _Huge()
public void _hashsign()
public void _atsign()
public void _lbracket()
public void _backslash()
public void _rbracket()
public void _lbrace()
public void _verticalbar()
public void _rbrace()
public void _tildechar()
public void _lesschar()
public void _equalchar()
public void _greaterchar()
public void _arccos()
public void _arcsin()
public void _arctan()
public void _arg()
public void _atan()
public void _cos()
public void _cosh()
public void _cot()
public void _coth()
public void _csc()
public void _deg()
public void _det()
public void _dim()
public void _exp()
public void _gcd()
public void _hom()
public void _inf()
public void _ker()
public void _lg()
public void _lim()
public void _liminf()
public void _limsup()
public void _ln()
public void _log()
public void _max()
public void _min()
public void _Pr()
public void _sec()
public void _sin()
public void _sinh()
public void _sgn()
public void _sup()
public void _tan()
public void _tanh()
public void _alpha()
public void _beta()
public void _gamma()
public void _delta()
public void _epsilon()
public void _zeta()
public void _eta()
public void _theta()
public void _iota()
public void _kappa()
public void _lambda()
public void _mu()
public void _nu()
public void _xi()
public void _greeko()
public void _pi()
public void _rho()
public void _sigma()
public void _tau()
public void _upsilon()
public void _phi()
public void _chi()
public void _psi()
public void _omega()
public void _varepsilon()
public void _vartheta()
public void _varpi()
public void _varrho()
public void _varsigma()
public void _varphi()
public void _Alpha()
public void _Beta()
public void _Gamma()
public void _Delta()
public void _Epsilon()
public void _Zeta()
public void _Eta()
public void _Theta()
public void _Iota()
public void _Kappa()
public void _Lambda()
public void _Mu()
public void _Nu()
public void _Xi()
public void _Greeko()
public void _Pi()
public void _Rho()
public void _Sigma()
public void _Tau()
public void _Upsilon()
public void _Phi()
public void _Chi()
public void _Psi()
public void _Omega()
public void _calA()
public void _calB()
public void _calC()
public void _calD()
public void _calE()
public void _calF()
public void _calG()
public void _calH()
public void _calI()
public void _calJ()
public void _calK()
public void _calL()
public void _calM()
public void _calN()
public void _calO()
public void _calP()
public void _calQ()
public void _calR()
public void _calS()
public void _calT()
public void _calU()
public void _calV()
public void _calW()
public void _calX()
public void _calY()
public void _calZ()
public void _aleph()
public void _hbar()
public void _imath()
public void _jmath()
public void _ell()
public void _wp()
public void _Re()
public void _Im()
public void _partial()
public void _infty()
public void _prime()
public void _emptyset()
public void _nabla()
public void _surd()
public void _top()
public void _bot()
public void _doublebar()
public void _angle()
public void _triangle()
public void _mbackslash()
public void _forall()
public void _exists()
public void _neg()
public void _flat()
public void _natural()
public void _sharp()
public void _clubsuit()
public void _diamondsuit()
public void _heartsuit()
public void _spadesuit()
public void _oldstyle()
public void _sum()
public void _prod()
public void _coprod()
public void _int()
public void _oint()
public void _bigcap()
public void _bigcup()
public void _bigsqcup()
public void _bigvee()
public void _bigwedge()
public void _bigodot()
public void _bigotimes()
public void _bigoplus()
public void _biguplus()
public int _Sum(java.lang.Object[] args)
public void _Sum_BEGIN()
public int _Prod(java.lang.Object[] args)
public void _Prod_BEGIN()
public int _Int(java.lang.Object[] args)
public void _Int_BEGIN()
public int _lstack(java.lang.Object[] args)
public int _cstack(java.lang.Object[] args)
public int _rstack(java.lang.Object[] args)
public int _frac(java.lang.Object[] args)
public void _minus()
public void _slash()
public void _pm()
public void _mp()
public void _setminus()
public void _cdot()
public void _cdotvar()
public void _times()
public void _ast()
public void _star()
public void _diamond()
public void _circ()
public void _bullet()
public void _div()
public void _cap()
public void _cup()
public void _uplus()
public void _sqcap()
public void _sqcup()
public void _triangleleft()
public void _triangleright()
public void _wr()
public void _bigcirc()
public void _bigtriangleup()
public void _bigtriangledown()
public void _vee()
public void _wedge()
public void _oplus()
public void _ominus()
public void _otimes()
public void _oslash()
public void _odot()
public void _dagger()
public void _ddagger()
public void _amalg()
public void _lessthan()
public void _greaterthan()
public void _equals()
public void _leq()
public void _prec()
public void _preceq()
public void _ll()
public void _subset()
public void _subseteq()
public void _sqsubseteq()
public void _in()
public void _vdash()
public void _smile()
public void _frown()
public void _geq()
public void _succ()
public void _succeq()
public void _gg()
public void _supset()
public void _supseteq()
public void _sqsupseteq()
public void _ni()
public void _dashv()
public void _mid()
public void _parallel()
public void _equiv()
public void _sim()
public void _simeq()
public void _asymp()
public void _approx()
public void _cong()
public void _bowtie()
public void _propto()
public void _models()
public void _doteq()
public void _perp()
public void _not()
public void _notin()
public void _leftarrow()
public void _Leftarrow()
public void _rightarrow()
public void _Rightarrow()
public void _leftrightarrow()
public void _Leftrightarrow()
public void _mapsto()
public void _hookleftarrow()
public void _leftharpoonup()
public void _leftharpoondown()
public void _rightleftharpoons()
public void _longleftarrow()
public void _Longleftarrow()
public void _longrightarrow()
public void _Longrightarrow()
public void _longleftrightarrow()
public void _Longleftrightarrow()
public void _longmapsto()
public void _hookrightarrow()
public void _rightharpoonup()
public void _rightharpoondown()
public void _uparrow()
public void _Uparrow()
public void _downarrow()
public void _Downarrow()
public void _updownarrow()
public void _Updownarrow()
public void _nearrow()
public void _searrow()
public void _swarrow()
public void _nwarrow()
public void _buildrel()
public void _looparrowleft()
public void _looparrowright()
public void _leftrightsquigarrow()
public void _circlearrowleft()
public void _circlearrowright()
public void _nleftarrow()
public void _nrightarrow()
public void _nleftrightarrow()
public void _nLeftarrow()
public void _nLeftrightarrow()
public void _nRightarrow()
public void _lbrack()
public void _lfloor()
public void _lceil()
public void _langle()
public void _lmoustache()
public void _lgroup()
public void _rbrack()
public void _rfloor()
public void _rceil()
public void _rangle()
public void _rmoustache()
public void _rgroup()
public void _arrowvert()
public void _Arrowvert()
public void _bracevert()
public void _colon()
public void _ldots()
public void _cdots()
public void _ne()
public void _neq()
public void _le()
public void _ge()
public void _to()
public void _gets()
public void _owns()
public void _land()
public void _lor()
public void _lnot()
public void _vert()
public void _Vert()
public void _iff()
public void _S()
public void _P()
public void _dag()
public void _ddag()
public void _sqsubset()
public void _define()
public void _Join()
public void _sqsupset()
public void _vdots()
public void _ddots()
public void _Box()
public void _Diamond()
public void _mho()
public void _euro()
public void _pound()
public void _pts()
public void _setZ()
public void _setN()
public void _setR()
public void _celsius()
public void _fahrenheit()
public void _complement()
public void _nexists()
public void _varnothing()
public void _mathslash()
public void _root()
public void _cubicroot()
public void _fourthroot()
public void _varpropto()
public void _lhd()
public void _rhd()
public void _unlhd()
public void _unrhd()
public void _iint()
public void _iiint()
public void _telephone()
public void _smiley()
public void _smileyblack()
public void _male()
public void _female()
public void _proportional()
public void _approxeq()
public int _pmb()
public int _hat(java.lang.Object[] a)
public int _check(java.lang.Object[] a)
public int _acute(java.lang.Object[] a)
public int _grave(java.lang.Object[] a)
public int _bar(java.lang.Object[] a)
public int _vec(java.lang.Object[] a)
public int _dot(java.lang.Object[] a)
public int _ddot(java.lang.Object[] a)
public int _tilde(java.lang.Object[] a)
public int _dq(java.lang.Object[] a)
public int accent(java.lang.String cmd, java.lang.Object[] args)
public void _widetilde()
public void _widehat()
public void _overleftarrow()
public void _overrightarrow()
public int _overbrace()
public int _underbrace()
public void _over()
public int _sqrtn()
public int _underline(java.lang.Object[] args)
public int _overline(java.lang.Object[] args)
public int _sqrt(java.lang.Object[] args)
public void _digamma()
public void _beth()
public void _daleth()
public void _gimel()
public void _lll()
public void _ggg()
public void _percent()
public void _promille()
public void _copyright()
public void _paragraph()
public void _degrees()
public void _square()
public void _not_internal()
public void _ldots_internal()
public void _cdots_internal()
public void _strut()
public void __space(int pixels)
public void _thinspace()
public void _mskip_thin()
public void _mskip_med()
public void _mskip_thick()
public void _mskip_back()
public void _qquad()
public void _emspace()
public LP2.Box __make_line(double x, double y, double width)
void greek(java.lang.String s)
void greek(java.lang.String s, int cmfont, int c)
void calli(java.lang.String s, int cmfont, int c)
void unicode(java.lang.String s, int cmfont1, int c1, int cmfont2, int c2, int dx)
void unicode(java.lang.String s, int cmfont, int c)
void unicode(java.lang.String s)
void big_opr(java.lang.String s, int cmfont, int c)
void binaryop(java.lang.String s, int cmfont, int c)
void relation(java.lang.String s, int cmfont, int c)
void relation(java.lang.String s, int cmfont1, int c1, int cmfont2, int c2, int dx)
void mathfunction(java.lang.String s)
void space(int points)
void writeFigHeader(java.io.PrintStream ps)
public void setFontIndex(int fontIndex)
public void setFontPtSize(int ptSize)
public void setColorIndex(int colorIndex)
public void parse(java.lang.String s)
public void convertToFig(FigCompound compound)
public void selftest(java.lang.String s)
public void setEnableDisplayBoxes(boolean b)
public void setEnableDumpTokens(boolean b)
public void setUseWords(boolean b)
public static void msg(java.lang.String s)
public static void usage()
public static void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |