Documentation of 'japlot.jaxodraw.JaxoGreek' Java class
JaxoGreek
japlot.jaxodraw

Class JaxoGreek



  • public final class JaxoGreek
    extends java.lang.Object
    Defines a number of greek letters and some methods to convert them into LaTeX strings and back.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static char getGreekLetter(java.lang.String s)
      Returns the greek character whose LaTex command is s.
      static java.lang.String getLatexGreekLetter(char a)
      Gets the LaTeX command for the greek character a.
      static boolean isGreekLetter(char a)
      Tests whether the given character corresponds to one of the greek characters defined in this class.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLatexGreekLetter

        public static java.lang.String getLatexGreekLetter(char a)
        Gets the LaTeX command for the greek character a.
        Parameters:
        a - The greek character whose LaTex command is to be returned.
        Returns:
        The LaTeX command of the greek character a or "?" if a does not correspond to any greek character..
      • getGreekLetter

        public static char getGreekLetter(java.lang.String s)
        Returns the greek character whose LaTex command is s.
        Parameters:
        s - The LaTeX command whose corresponding greek character is to be returned.
        Returns:
        The greek character corresponding to the LaTex command s or ? if s does not correspond to any greek character.
      • isGreekLetter

        public static boolean isGreekLetter(char a)
        Tests whether the given character corresponds to one of the greek characters defined in this class.
        Parameters:
        a - A character.
        Returns:
        True if a corresponds to one of the greek characters defined in this class, false otherwise.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.