|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaxodraw.util.JaxoGreek
public final class JaxoGreek
Defines a number of greek letters and some methods to convert them into LaTeX strings and back.
Field Summary | |
---|---|
static char |
ALPHA
The greek letter alpha. |
static char |
BETA
The greek letter beta. |
static char |
CHI
The greek letter chi. |
static char |
DELTA
The greek letter delta. |
static char |
EPSILON
The greek letter epsilon. |
static char |
ETA
The greek letter eta. |
static char |
GAMMA
The greek letter gamma. |
static char |
IOTA
The greek letter iota. |
static char |
KAPPA
The greek letter kappa. |
static char |
LAMBDA
The greek letter lambda. |
static char |
MU
The greek letter mu. |
static char |
NU
The greek letter nu. |
static char |
OMEGA
The greek letter omega. |
static char |
OMIKRON
The greek letter omikron. |
static char |
PHI
The greek letter phi. |
static char |
PI
The greek letter pi. |
static char |
PSI
The greek letter psi. |
static char |
RHO
The greek letter rho. |
static char |
SIGMA
The greek letter sigma. |
static char |
TAU
The greek letter tau. |
static char |
THETA
The greek letter theta. |
static char |
UPPER_DELTA
The greek upper case letter delta. |
static char |
UPPER_GAMMA
The greek upper case letter gamma. |
static char |
UPPER_LAMBDA
The greek upper case letter lambda. |
static char |
UPPER_OMEGA
The greek upper case letter omega. |
static char |
UPPER_PHI
The greek upper case letter phi. |
static char |
UPPER_PI
The greek upper case letter pi. |
static char |
UPPER_PSI
The greek upper case letter psi. |
static char |
UPPER_SIGMA
The greek upper case letter sigma. |
static char |
UPPER_THETA
The greek upper case letter theta. |
static char |
UPPER_XI
The greek upper case letter xi. |
static char |
UPSILON
The greek letter upsilon. |
static char |
VARPHI
The greek letter phi (corresponding to LaTeX's \varphi). |
static char |
VARSIGMA
The greek letter sigma (corresponding to LaTeX's \varsigma). |
static char |
VARTHETA
The greek letter theta (corresponding to LaTeX's \vartheta). |
static char |
XI
The greek letter xi. |
static char |
ZETA
The greek letter zeta. |
Method Summary | |
---|---|
static char |
getCharacter(String command)
Returns the greek character whose LaTex command is s. |
static String |
getLatexCommand(char a)
Gets the LaTeX command for the greek character a. |
static boolean |
isGreekCharacter(char a)
Tests whether the given character corresponds to one of the greek characters defined in this class. |
static boolean |
isLatexCommand(String command)
Tests whether the given latex command corresponds to one of the greek characters defined in this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final char ALPHA
public static final char BETA
public static final char GAMMA
public static final char DELTA
public static final char EPSILON
public static final char ZETA
public static final char ETA
public static final char THETA
public static final char IOTA
public static final char KAPPA
public static final char LAMBDA
public static final char MU
public static final char NU
public static final char XI
public static final char OMIKRON
public static final char PI
public static final char RHO
public static final char VARSIGMA
public static final char SIGMA
public static final char TAU
public static final char UPSILON
public static final char PHI
public static final char CHI
public static final char PSI
public static final char OMEGA
public static final char VARTHETA
public static final char VARPHI
public static final char UPPER_GAMMA
public static final char UPPER_DELTA
public static final char UPPER_THETA
public static final char UPPER_LAMBDA
public static final char UPPER_XI
public static final char UPPER_PI
public static final char UPPER_SIGMA
public static final char UPPER_PHI
public static final char UPPER_PSI
public static final char UPPER_OMEGA
Method Detail |
---|
public static String getLatexCommand(char a)
a
- The greek character whose LaTex command is to be returned.
public static char getCharacter(String command)
command
- The LaTeX command whose corresponding greek character
is to be returned.
public static boolean isGreekCharacter(char a)
a
- A character.
public static boolean isLatexCommand(String command)
command
- a latex string (\\alpha etc.)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |