java.lang.Cloneable
public class CharAtom extends CharSymbol
alignment, type, type_limits
Constructor | 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 | 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() |
clone, getLeftType, getRightType
isMarkedAsTextSymbol, markAsTextSymbol, removeMark
public 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)
Atom
Box
, using properties set by "parent"
atoms, like the TeX style, the last used font, color settings, ...public char getCharacter()
public CharFont getCharFont(TeXFont tf)
CharSymbol
getCharFont
in class CharSymbol
tf
- the TeXFont containing all font related informationpublic java.lang.String toString()
toString
in class java.lang.Object