Class TeXConstants
- java.lang.Object
-
- org.scilab.forge.jlatexmath.TeXConstants
-
public class TeXConstants extends java.lang.Object
The 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 int
ALIGN_BOTTOM
Alignment constant: extra space will be added above the formulastatic int
ALIGN_CENTER
Alignment constant: the formula will be centered in the middle.static int
ALIGN_LEFT
Alignment constant: extra space will be added to the right of the formulastatic int
ALIGN_NONE
Alignment constant: nonestatic int
ALIGN_RIGHT
Alignment constant: extra space will be added to the left of the formulastatic int
ALIGN_TOP
Alignment constant: extra space will be added under the formulastatic int
DELIM_BRACE
Delimiter type constant for putting delimiters over and under formula's: bracestatic int
DELIM_BRACKET
Delimiter type constant for putting delimiters over and under formula's: parenthesisstatic int
DELIM_DOUBLE_LEFT_ARROW
Delimiter type constant for putting delimiters over and under formula's: arrow with two lines pointing to the leftstatic 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 rightstatic int
DELIM_DOUBLE_LINE
Delimiter type constant for putting delimiters over and under formula's: underline twicestatic int
DELIM_DOUBLE_RIGHT_ARROW
Delimiter type constant for putting delimiters over and under formula's: arrow with two lines pointing to the rightstatic int
DELIM_LEFT_ARROW
Delimiter type constant for putting delimiters over and under formula's: arrow with single line pointing to the leftstatic 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 rightstatic int
DELIM_RIGHT_ARROW
Delimiter type constant for putting delimiters over and under formula's: arrow with single line pointing to the rightstatic int
DELIM_SINGLE_LINE
Delimiter type constant for putting delimiters over and under formula's: underline oncestatic int
DELIM_SQUARE_BRACKET
Delimiter type constant for putting delimiters over and under formula's: square bracketstatic int
MEDMUSKIP
static int
NEGMEDMUSKIP
static int
NEGTHICKMUSKIP
static int
NEGTHINMUSKIP
static int
QUAD
static int
SCRIPT_LIMITS
static int
SCRIPT_NOLIMITS
static int
SCRIPT_NORMAL
static int
STYLE_DISPLAY
TeX style: display style.static int
STYLE_SCRIPT
TeX style: script style.static int
STYLE_SCRIPT_SCRIPT
TeX style: script_script style.static int
STYLE_TEXT
TeX style: text style.static int
THICKMUSKIP
static int
THINMUSKIP
static int
TYPE_ACCENT
Symbol type: accent, e.g.static int
TYPE_BIG_OPERATOR
Symbol/Atom type: big operator (= large operator), e.g.static int
TYPE_BINARY_OPERATOR
Symbol/Atom type: binary operator, e.g.static int
TYPE_CLOSING
Symbol/Atom type: closing symbol, e.g.static int
TYPE_HLINE
static int
TYPE_INNER
Atom type: inner atom (NOT FOR SYMBOLS!!!)static int
TYPE_INTERTEXT
static int
TYPE_MULTICOLUMN
static int
TYPE_OPENING
Symbol/Atom type: opening symbol, e.g.static int
TYPE_ORDINARY
Symbol/Atom type: ordinary symbol, e.g.static int
TYPE_PUNCTUATION
Symbol/Atom type: punctuation symbol, e.g.static int
TYPE_RELATION
Symbol/Atom type: relation, e.g.static int
UNIT_CC
Unit constant: instatic int
UNIT_CM
Unit constant: cmstatic int
UNIT_DD
Unit constant: instatic int
UNIT_EM
Unit constant: emstatic int
UNIT_EX
Unit constant: exstatic int
UNIT_IN
Unit constant: instatic int
UNIT_MM
Unit constant: mmstatic int
UNIT_MU
Unit constant: math unit (mu)static int
UNIT_PICA
Unit constant: picastatic int
UNIT_PIXEL
Unit constant: pixelstatic int
UNIT_POINT
Unit constant: postscript pointstatic int
UNIT_PT
Unit constant: instatic int
UNIT_SP
Unit 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
-
-