public class CharAtom extends CharSymbol
alignment, type, type_limits| Constructor and Description |
|---|
CharAtom(char c,
java.lang.String textStyle)
Creates a CharAtom that will represent the given character in the given text style.
|
| 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, ... |
char |
getCharacter() |
CharFont |
getCharFont(TeXFont tf)
Get the CharFont-object that uniquely identifies the character that is represented
by this atom.
|
java.lang.String |
toString() |
isMarkedAsTextSymbol, markAsTextSymbol, removeMarkclone, getLeftType, getRightTypepublic CharAtom(char c,
java.lang.String textStyle)
c - the alphanumeric charactertextStyle - the text style in which the character should be drawnpublic Box createBox(TeXEnvironment env)
AtomBox, using properties set by "parent"
atoms, like the TeX style, the last used font, color settings, ...public char getCharacter()
public CharFont getCharFont(TeXFont tf)
CharSymbolgetCharFont in class CharSymboltf - the TeXFont containing all font related informationpublic java.lang.String toString()
toString in class java.lang.Object