Documentation of 'org.scilab.forge.jlatexmath.SpaceAtom' Java class
SpaceAtom
org.scilab.forge.jlatexmath

Class SpaceAtom

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class SpaceAtom
    extends Atom
    An atom representing whitespace. The dimension values can be set using different unit types.
    • Method Detail

      • checkUnit

        public static void checkUnit(int unit)
                              throws InvalidUnitException
        Check if the given unit is valid
        Parameters:
        unit - the unit's integer representation (a constant)
        Throws:
        InvalidUnitException - if the given integer value does not represent a valid unit
      • getUnit

        public static int getUnit(java.lang.String unit)
      • getLength

        public static float[] getLength(java.lang.String lgth)
      • createBox

        public Box createBox(TeXEnvironment env)
        Description copied from class: Atom
        Convert this atom into a Box, using properties set by "parent" atoms, like the TeX style, the last used font, color settings, ...
        Specified by:
        createBox in class Atom
        Parameters:
        env - the current environment settings
        Returns:
        the resulting box.
      • getFactor

        public static float getFactor(int unit,
                                      TeXEnvironment env)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.