public class CharAtom extends CharSymbol
alignment, type, type_limits| Constructor and Description |
|---|
CharAtom(char c,
String textStyle) |
CharAtom(char c,
String textStyle,
boolean mathMode)
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.
|
boolean |
isMathMode() |
String |
toString() |
isMarkedAsTextSymbol, markAsTextSymbol, removeMarkclone, getLeftType, getRightTypepublic CharAtom(char c,
String textStyle,
boolean mathMode)
c - the alphanumeric charactertextStyle - the text style in which the character should be drawnpublic CharAtom(char c,
String textStyle)
public boolean isMathMode()
public 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 informationCopyright © 2014–2018. All rights reserved.