java.lang.Cloneable
public class FencedAtom extends Atom
alignment, type, type_limits
Constructor | Description |
---|---|
FencedAtom(Atom base,
SymbolAtom l,
java.util.List m,
SymbolAtom r) |
|
FencedAtom(Atom base,
SymbolAtom l,
SymbolAtom r) |
Creates a new FencedAtom from the given base and delimiters
|
Modifier and Type | Method | Description |
---|---|---|
Box |
createBox(TeXEnvironment env) |
Convert this atom into a
Box , using properties set by "parent"
atoms, like the TeX style, the last used font, color settings, ... |
int |
getLeftType() |
Get the type of the leftermost child atom.
|
int |
getRightType() |
Get the type of the rightermost child atom.
|
public FencedAtom(Atom base, SymbolAtom l, SymbolAtom r)
base
- the base to be surrounded with delimitersl
- the left delimiterr
- the right delimiterpublic FencedAtom(Atom base, SymbolAtom l, java.util.List m, SymbolAtom r)
public int getLeftType()
Atom
getLeftType
in class Atom
public int getRightType()
Atom
getRightType
in class Atom
public Box createBox(TeXEnvironment env)
Atom
Box
, using properties set by "parent"
atoms, like the TeX style, the last used font, color settings, ...