public class AccentedAtom extends Atom
| Modifier and Type | Field and Description |
|---|---|
protected Atom |
base |
protected Atom |
underbase |
alignment, type, type_limits| Constructor and Description |
|---|
AccentedAtom(Atom base,
Atom accent) |
AccentedAtom(Atom base,
Atom accent,
boolean changeSize) |
AccentedAtom(Atom base,
java.lang.String accentName)
Creates an AccentedAtom from a base atom and an accent symbol defined by its name
|
AccentedAtom(Atom base,
TeXFormula acc)
Creates an AccentedAtom from a base atom and an accent symbol defined as a TeXFormula.
|
| Modifier and Type | Method and 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, ... |
clone, getLeftType, getRightTypepublic AccentedAtom(Atom base, Atom accent) throws InvalidSymbolTypeException
InvalidSymbolTypeExceptionpublic AccentedAtom(Atom base, Atom accent, boolean changeSize) throws InvalidSymbolTypeException
InvalidSymbolTypeExceptionpublic AccentedAtom(Atom base, java.lang.String accentName) throws InvalidSymbolTypeException, SymbolNotFoundException
base - base atomaccentName - name of the accent symbol to be put over the base atomInvalidSymbolTypeException - if the symbol is not defined as an accent ('acc')SymbolNotFoundException - if there's no symbol defined with the given namepublic AccentedAtom(Atom base, TeXFormula acc) throws InvalidTeXFormulaException, InvalidSymbolTypeException
base - base atomacc - TeXFormula representing an accent (SymbolAtom)InvalidTeXFormulaException - if the given TeXFormula does not represent a
single SymbolAtom (type "TeXConstants.TYPE_ACCENT")InvalidSymbolTypeException - if the symbol is not defined as an accent ('acc')public Box createBox(TeXEnvironment env)
AtomBox, using properties set by "parent"
atoms, like the TeX style, the last used font, color settings, ...