Class TeXConstants
- java.lang.Object
-
- org.scilab.forge.jlatexmath.TeXConstants
-
public class TeXConstants extends java.lang.ObjectThe collection of constants that can be used in the methods of the classes of this package.
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGN_BOTTOMAlignment constant: extra space will be added above the formulastatic intALIGN_CENTERAlignment constant: the formula will be centered in the middle.static intALIGN_LEFTAlignment constant: extra space will be added to the right of the formulastatic intALIGN_NONEAlignment constant: nonestatic intALIGN_RIGHTAlignment constant: extra space will be added to the left of the formulastatic intALIGN_TOPAlignment constant: extra space will be added under the formulastatic intDELIM_BRACEDelimiter type constant for putting delimiters over and under formula's: bracestatic intDELIM_BRACKETDelimiter type constant for putting delimiters over and under formula's: parenthesisstatic intDELIM_DOUBLE_LEFT_ARROWDelimiter type constant for putting delimiters over and under formula's: arrow with two lines pointing to the leftstatic intDELIM_DOUBLE_LEFT_RIGHT_ARROWDelimiter type constant for putting delimiters over and under formula's: arrow with two lines pointing to the left and to the rightstatic intDELIM_DOUBLE_LINEDelimiter type constant for putting delimiters over and under formula's: underline twicestatic intDELIM_DOUBLE_RIGHT_ARROWDelimiter type constant for putting delimiters over and under formula's: arrow with two lines pointing to the rightstatic intDELIM_LEFT_ARROWDelimiter type constant for putting delimiters over and under formula's: arrow with single line pointing to the leftstatic intDELIM_LEFT_RIGHT_ARROWDelimiter type constant for putting delimiters over and under formula's: arrow with single line pointing to the left and to the rightstatic intDELIM_RIGHT_ARROWDelimiter type constant for putting delimiters over and under formula's: arrow with single line pointing to the rightstatic intDELIM_SINGLE_LINEDelimiter type constant for putting delimiters over and under formula's: underline oncestatic intDELIM_SQUARE_BRACKETDelimiter type constant for putting delimiters over and under formula's: square bracketstatic intMEDMUSKIPstatic intNEGMEDMUSKIPstatic intNEGTHICKMUSKIPstatic intNEGTHINMUSKIPstatic intQUADstatic intSCRIPT_LIMITSstatic intSCRIPT_NOLIMITSstatic intSCRIPT_NORMALstatic intSTYLE_DISPLAYTeX style: display style.static intSTYLE_SCRIPTTeX style: script style.static intSTYLE_SCRIPT_SCRIPTTeX style: script_script style.static intSTYLE_TEXTTeX style: text style.static intTHICKMUSKIPstatic intTHINMUSKIPstatic intTYPE_ACCENTSymbol type: accent, e.g.static intTYPE_BIG_OPERATORSymbol/Atom type: big operator (= large operator), e.g.static intTYPE_BINARY_OPERATORSymbol/Atom type: binary operator, e.g.static intTYPE_CLOSINGSymbol/Atom type: closing symbol, e.g.static intTYPE_HLINEstatic intTYPE_INNERAtom type: inner atom (NOT FOR SYMBOLS!!!)static intTYPE_INTERTEXTstatic intTYPE_MULTICOLUMNstatic intTYPE_OPENINGSymbol/Atom type: opening symbol, e.g.static intTYPE_ORDINARYSymbol/Atom type: ordinary symbol, e.g.static intTYPE_PUNCTUATIONSymbol/Atom type: punctuation symbol, e.g.static intTYPE_RELATIONSymbol/Atom type: relation, e.g.static intUNIT_CCUnit constant: instatic intUNIT_CMUnit constant: cmstatic intUNIT_DDUnit constant: instatic intUNIT_EMUnit constant: emstatic intUNIT_EXUnit constant: exstatic intUNIT_INUnit constant: instatic intUNIT_MMUnit constant: mmstatic intUNIT_MUUnit constant: math unit (mu)static intUNIT_PICAUnit constant: picastatic intUNIT_PIXELUnit constant: pixelstatic intUNIT_POINTUnit constant: postscript pointstatic intUNIT_PTUnit constant: instatic intUNIT_SPUnit constant: sp
-
Constructor Summary
Constructors Constructor Description TeXConstants()
-
-
-
Field Detail
-
ALIGN_LEFT
public static final int ALIGN_LEFT
Alignment constant: extra space will be added to the right of the formula- See Also:
- Constant Field Values
-
ALIGN_RIGHT
public static final int ALIGN_RIGHT
Alignment constant: extra space will be added to the left of the formula- See Also:
- Constant Field Values
-
ALIGN_CENTER
public static final int ALIGN_CENTER
Alignment constant: the formula will be centered in the middle. This constant can be used for both horizontal and vertical alignment.- See Also:
- Constant Field Values
-
ALIGN_TOP
public static final int ALIGN_TOP
Alignment constant: extra space will be added under the formula- See Also:
- Constant Field Values
-
ALIGN_BOTTOM
public static final int ALIGN_BOTTOM
Alignment constant: extra space will be added above the formula- See Also:
- Constant Field Values
-
ALIGN_NONE
public static final int ALIGN_NONE
Alignment constant: none- See Also:
- Constant Field Values
-
THINMUSKIP
public static final int THINMUSKIP
- See Also:
- Constant Field Values
-
MEDMUSKIP
public static final int MEDMUSKIP
- See Also:
- Constant Field Values
-
THICKMUSKIP
public static final int THICKMUSKIP
- See Also:
- Constant Field Values
-
NEGTHINMUSKIP
public static final int NEGTHINMUSKIP
- See Also:
- Constant Field Values
-
NEGMEDMUSKIP
public static final int NEGMEDMUSKIP
- See Also:
- Constant Field Values
-
NEGTHICKMUSKIP
public static final int NEGTHICKMUSKIP
- See Also:
- Constant Field Values
-
QUAD
public static final int QUAD
- See Also:
- Constant Field Values
-
SCRIPT_NORMAL
public static final int SCRIPT_NORMAL
- See Also:
- Constant Field Values
-
SCRIPT_NOLIMITS
public static final int SCRIPT_NOLIMITS
- See Also:
- Constant Field Values
-
SCRIPT_LIMITS
public static final int SCRIPT_LIMITS
- See Also:
- Constant Field Values
-
TYPE_ORDINARY
public static final int TYPE_ORDINARY
Symbol/Atom type: ordinary symbol, e.g. "slash"- See Also:
- Constant Field Values
-
TYPE_BIG_OPERATOR
public static final int TYPE_BIG_OPERATOR
Symbol/Atom type: big operator (= large operator), e.g. "sum"- See Also:
- Constant Field Values
-
TYPE_BINARY_OPERATOR
public static final int TYPE_BINARY_OPERATOR
Symbol/Atom type: binary operator, e.g. "plus"- See Also:
- Constant Field Values
-
TYPE_RELATION
public static final int TYPE_RELATION
Symbol/Atom type: relation, e.g. "equals"- See Also:
- Constant Field Values
-
TYPE_OPENING
public static final int TYPE_OPENING
Symbol/Atom type: opening symbol, e.g. "lbrace"- See Also:
- Constant Field Values
-
TYPE_CLOSING
public static final int TYPE_CLOSING
Symbol/Atom type: closing symbol, e.g. "rbrace"- See Also:
- Constant Field Values
-
TYPE_PUNCTUATION
public static final int TYPE_PUNCTUATION
Symbol/Atom type: punctuation symbol, e.g. "comma"- See Also:
- Constant Field Values
-
TYPE_INNER
public static final int TYPE_INNER
Atom type: inner atom (NOT FOR SYMBOLS!!!)- See Also:
- Constant Field Values
-
TYPE_ACCENT
public static final int TYPE_ACCENT
Symbol type: accent, e.g. "hat"- See Also:
- Constant Field Values
-
TYPE_INTERTEXT
public static final int TYPE_INTERTEXT
- See Also:
- Constant Field Values
-
TYPE_MULTICOLUMN
public static final int TYPE_MULTICOLUMN
- See Also:
- Constant Field Values
-
TYPE_HLINE
public static final int TYPE_HLINE
- See Also:
- Constant Field Values
-
DELIM_BRACE
public static final int DELIM_BRACE
Delimiter type constant for putting delimiters over and under formula's: brace- See Also:
- Constant Field Values
-
DELIM_SQUARE_BRACKET
public static final int DELIM_SQUARE_BRACKET
Delimiter type constant for putting delimiters over and under formula's: square bracket- See Also:
- Constant Field Values
-
DELIM_BRACKET
public static final int DELIM_BRACKET
Delimiter type constant for putting delimiters over and under formula's: parenthesis- See Also:
- Constant Field Values
-
DELIM_LEFT_ARROW
public static final int DELIM_LEFT_ARROW
Delimiter type constant for putting delimiters over and under formula's: arrow with single line pointing to the left- See Also:
- Constant Field Values
-
DELIM_RIGHT_ARROW
public static final int DELIM_RIGHT_ARROW
Delimiter type constant for putting delimiters over and under formula's: arrow with single line pointing to the right- See Also:
- Constant Field Values
-
DELIM_LEFT_RIGHT_ARROW
public static final int DELIM_LEFT_RIGHT_ARROW
Delimiter type constant for putting delimiters over and under formula's: arrow with single line pointing to the left and to the right- See Also:
- Constant Field Values
-
DELIM_DOUBLE_LEFT_ARROW
public static final int DELIM_DOUBLE_LEFT_ARROW
Delimiter type constant for putting delimiters over and under formula's: arrow with two lines pointing to the left- See Also:
- Constant Field Values
-
DELIM_DOUBLE_RIGHT_ARROW
public static final int DELIM_DOUBLE_RIGHT_ARROW
Delimiter type constant for putting delimiters over and under formula's: arrow with two lines pointing to the right- See Also:
- Constant Field Values
-
DELIM_DOUBLE_LEFT_RIGHT_ARROW
public static final int DELIM_DOUBLE_LEFT_RIGHT_ARROW
Delimiter type constant for putting delimiters over and under formula's: arrow with two lines pointing to the left and to the right- See Also:
- Constant Field Values
-
DELIM_SINGLE_LINE
public static final int DELIM_SINGLE_LINE
Delimiter type constant for putting delimiters over and under formula's: underline once- See Also:
- Constant Field Values
-
DELIM_DOUBLE_LINE
public static final int DELIM_DOUBLE_LINE
Delimiter type constant for putting delimiters over and under formula's: underline twice- See Also:
- Constant Field Values
-
STYLE_DISPLAY
public static final int STYLE_DISPLAY
TeX style: display style.The large versions of big operators are used and limits are placed under and over these operators (default). Symbols are rendered in the largest size.
- See Also:
- Constant Field Values
-
STYLE_TEXT
public static final int STYLE_TEXT
TeX style: text style.The small versions of big operators are used and limits are attached to these operators as scripts (default). The same size as in the display style is used to render symbols.
- See Also:
- Constant Field Values
-
STYLE_SCRIPT
public static final int STYLE_SCRIPT
TeX style: script style.The same as the text style, but symbols are rendered in a smaller size.
- See Also:
- Constant Field Values
-
STYLE_SCRIPT_SCRIPT
public static final int STYLE_SCRIPT_SCRIPT
TeX style: script_script style.The same as the script style, but symbols are rendered in a smaller size.
- See Also:
- Constant Field Values
-
UNIT_EM
public static final int UNIT_EM
Unit constant: em1 em = the width of the capital 'M' in the current font
- See Also:
- Constant Field Values
-
UNIT_EX
public static final int UNIT_EX
Unit constant: ex1 ex = the height of the character 'x' in the current font
- See Also:
- Constant Field Values
-
UNIT_PIXEL
public static final int UNIT_PIXEL
Unit constant: pixel- See Also:
- Constant Field Values
-
UNIT_POINT
public static final int UNIT_POINT
Unit constant: postscript point- See Also:
- Constant Field Values
-
UNIT_PICA
public static final int UNIT_PICA
Unit constant: pica1 pica = 12 point
- See Also:
- Constant Field Values
-
UNIT_MU
public static final int UNIT_MU
Unit constant: math unit (mu)1 mu = 1/18 em (em taken from the "mufont")
- See Also:
- Constant Field Values
-
UNIT_CM
public static final int UNIT_CM
Unit constant: cm1 cm = 28.346456693 point
- See Also:
- Constant Field Values
-
UNIT_MM
public static final int UNIT_MM
Unit constant: mm1 mm = 2.8346456693 point
- See Also:
- Constant Field Values
-
UNIT_IN
public static final int UNIT_IN
Unit constant: in1 in = 72 point
- See Also:
- Constant Field Values
-
UNIT_SP
public static final int UNIT_SP
Unit constant: sp1 sp = 65536 point
- See Also:
- Constant Field Values
-
UNIT_PT
public static final int UNIT_PT
Unit constant: in1 in = 72.27 pt
- See Also:
- Constant Field Values
-
UNIT_DD
public static final int UNIT_DD
Unit constant: in1 in = 72 point
- See Also:
- Constant Field Values
-
UNIT_CC
public static final int UNIT_CC
Unit constant: in1 in = 72 point
- See Also:
- Constant Field Values
-
-