Class XArrowAtom

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class XArrowAtom
    extends Atom
    An atom representing an extensible left or right arrow to handle xleftarrow and xrightarrow commands in LaTeX.
    • Constructor Detail

      • XArrowAtom

        public XArrowAtom​(Atom over,
                          Atom under,
                          boolean left)
    • Method Detail

      • 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.