Class TeXConstants

java.lang.Object
org.scilab.forge.jlatexmath.TeXConstants

public class TeXConstants extends 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 final int
    Alignment constant: extra space will be added above the formula
    static final int
    Alignment constant: the formula will be centered in the middle.
    static final int
    Alignment constant: extra space will be added to the right of the formula
    static final int
    Alignment constant: none
    static final int
    Alignment constant: extra space will be added to the left of the formula
    static final int
    Alignment constant: extra space will be added under the formula
    static final int
    Delimiter type constant for putting delimiters over and under formula's: brace
    static final int
    Delimiter type constant for putting delimiters over and under formula's: parenthesis
    static final int
    Delimiter type constant for putting delimiters over and under formula's: arrow with two lines pointing to the left
    static final int
    Delimiter type constant for putting delimiters over and under formula's: arrow with two lines pointing to the left and to the right
    static final int
    Delimiter type constant for putting delimiters over and under formula's: underline twice
    static final int
    Delimiter type constant for putting delimiters over and under formula's: arrow with two lines pointing to the right
    static final int
    Delimiter type constant for putting delimiters over and under formula's: arrow with single line pointing to the left
    static final int
    Delimiter type constant for putting delimiters over and under formula's: arrow with single line pointing to the left and to the right
    static final int
    Delimiter type constant for putting delimiters over and under formula's: arrow with single line pointing to the right
    static final int
    Delimiter type constant for putting delimiters over and under formula's: underline once
    static final int
    Delimiter type constant for putting delimiters over and under formula's: square bracket
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
    TeX style: display style.
    static final int
    TeX style: script style.
    static final int
    TeX style: script_script style.
    static final int
    TeX style: text style.
    static final int
     
    static final int
     
    static final int
    Symbol type: accent, e.g.
    static final int
    Symbol/Atom type: big operator (= large operator), e.g.
    static final int
    Symbol/Atom type: binary operator, e.g.
    static final int
    Symbol/Atom type: closing symbol, e.g.
    static final int
     
    static final int
    Atom type: inner atom (NOT FOR SYMBOLS!!!)
    static final int
     
    static final int
     
    static final int
    Symbol/Atom type: opening symbol, e.g.
    static final int
    Symbol/Atom type: ordinary symbol, e.g.
    static final int
    Symbol/Atom type: punctuation symbol, e.g.
    static final int
    Symbol/Atom type: relation, e.g.
    static final int
    Unit constant: in
    static final int
    Unit constant: cm
    static final int
    Unit constant: in
    static final int
    Unit constant: em
    static final int
    Unit constant: ex
    static final int
    Unit constant: in
    static final int
    Unit constant: mm
    static final int
    Unit constant: math unit (mu)
    static final int
    Unit constant: pica
    static final int
    Unit constant: pixel
    static final int
    Unit constant: postscript point
    static final int
    Unit constant: in
    static final int
    Unit constant: sp
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ALIGN_LEFT

      public static final int ALIGN_LEFT
      Alignment constant: extra space will be added to the right of the formula
      See Also:
    • ALIGN_RIGHT

      public static final int ALIGN_RIGHT
      Alignment constant: extra space will be added to the left of the formula
      See Also:
    • 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:
    • ALIGN_TOP

      public static final int ALIGN_TOP
      Alignment constant: extra space will be added under the formula
      See Also:
    • ALIGN_BOTTOM

      public static final int ALIGN_BOTTOM
      Alignment constant: extra space will be added above the formula
      See Also:
    • ALIGN_NONE

      public static final int ALIGN_NONE
      Alignment constant: none
      See Also:
    • THINMUSKIP

      public static final int THINMUSKIP
      See Also:
    • MEDMUSKIP

      public static final int MEDMUSKIP
      See Also:
    • THICKMUSKIP

      public static final int THICKMUSKIP
      See Also:
    • NEGTHINMUSKIP

      public static final int NEGTHINMUSKIP
      See Also:
    • NEGMEDMUSKIP

      public static final int NEGMEDMUSKIP
      See Also:
    • NEGTHICKMUSKIP

      public static final int NEGTHICKMUSKIP
      See Also:
    • QUAD

      public static final int QUAD
      See Also:
    • SCRIPT_NORMAL

      public static final int SCRIPT_NORMAL
      See Also:
    • SCRIPT_NOLIMITS

      public static final int SCRIPT_NOLIMITS
      See Also:
    • SCRIPT_LIMITS

      public static final int SCRIPT_LIMITS
      See Also:
    • TYPE_ORDINARY

      public static final int TYPE_ORDINARY
      Symbol/Atom type: ordinary symbol, e.g. "slash"
      See Also:
    • TYPE_BIG_OPERATOR

      public static final int TYPE_BIG_OPERATOR
      Symbol/Atom type: big operator (= large operator), e.g. "sum"
      See Also:
    • TYPE_BINARY_OPERATOR

      public static final int TYPE_BINARY_OPERATOR
      Symbol/Atom type: binary operator, e.g. "plus"
      See Also:
    • TYPE_RELATION

      public static final int TYPE_RELATION
      Symbol/Atom type: relation, e.g. "equals"
      See Also:
    • TYPE_OPENING

      public static final int TYPE_OPENING
      Symbol/Atom type: opening symbol, e.g. "lbrace"
      See Also:
    • TYPE_CLOSING

      public static final int TYPE_CLOSING
      Symbol/Atom type: closing symbol, e.g. "rbrace"
      See Also:
    • TYPE_PUNCTUATION

      public static final int TYPE_PUNCTUATION
      Symbol/Atom type: punctuation symbol, e.g. "comma"
      See Also:
    • TYPE_INNER

      public static final int TYPE_INNER
      Atom type: inner atom (NOT FOR SYMBOLS!!!)
      See Also:
    • TYPE_ACCENT

      public static final int TYPE_ACCENT
      Symbol type: accent, e.g. "hat"
      See Also:
    • TYPE_INTERTEXT

      public static final int TYPE_INTERTEXT
      See Also:
    • TYPE_MULTICOLUMN

      public static final int TYPE_MULTICOLUMN
      See Also:
    • TYPE_HLINE

      public static final int TYPE_HLINE
      See Also:
    • DELIM_BRACE

      public static final int DELIM_BRACE
      Delimiter type constant for putting delimiters over and under formula's: brace
      See Also:
    • 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:
    • DELIM_BRACKET

      public static final int DELIM_BRACKET
      Delimiter type constant for putting delimiters over and under formula's: parenthesis
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • UNIT_EM

      public static final int UNIT_EM
      Unit constant: em

      1 em = the width of the capital 'M' in the current font

      See Also:
    • UNIT_EX

      public static final int UNIT_EX
      Unit constant: ex

      1 ex = the height of the character 'x' in the current font

      See Also:
    • UNIT_PIXEL

      public static final int UNIT_PIXEL
      Unit constant: pixel
      See Also:
    • UNIT_POINT

      public static final int UNIT_POINT
      Unit constant: postscript point
      See Also:
    • UNIT_PICA

      public static final int UNIT_PICA
      Unit constant: pica

      1 pica = 12 point

      See Also:
    • 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:
    • UNIT_CM

      public static final int UNIT_CM
      Unit constant: cm

      1 cm = 28.346456693 point

      See Also:
    • UNIT_MM

      public static final int UNIT_MM
      Unit constant: mm

      1 mm = 2.8346456693 point

      See Also:
    • UNIT_IN

      public static final int UNIT_IN
      Unit constant: in

      1 in = 72 point

      See Also:
    • UNIT_SP

      public static final int UNIT_SP
      Unit constant: sp

      1 sp = 65536 point

      See Also:
    • UNIT_PT

      public static final int UNIT_PT
      Unit constant: in

      1 in = 72.27 pt

      See Also:
    • UNIT_DD

      public static final int UNIT_DD
      Unit constant: in

      1 in = 72 point

      See Also:
    • UNIT_CC

      public static final int UNIT_CC
      Unit constant: in

      1 in = 72 point

      See Also:
  • Constructor Details

    • TeXConstants

      public TeXConstants()