Noticed today, that some of the upper case characters were not showing
in latex output...

Author: Priit Laes <pl...@plaes.org>
Date:   Tue Jun 30 23:53:10 2009 +0300

    Add some missing Greek characters.
    
    Signed-off-by: Priit Laes <pl...@plaes.org>

diff --git a/sympy/printing/latex.py b/sympy/printing/latex.py
index 2c28e67..25cf20b 100644
--- a/sympy/printing/latex.py
+++ b/sympy/printing/latex.py
@@ -513,10 +513,14 @@ def _print_Symbol(self, expr):
             tex="%s%s{%s}" %(tex, sep, rest)
             return tex
 
-        greek = set([ 'alpha', 'beta', 'gamma', 'delta', 'epsilon', 'zeta',
-                      'eta', 'theta', 'iota', 'kappa', 'lambda', 'mu', 'nu',
-                      'xi', 'omicron', 'pi', 'rho', 'sigma', 'tau', 'upsilon',
-                      'phi', 'chi', 'psi', 'omega' ])
+        greek = set([ 'alpha', 'beta', 'gamma', 'delta', 'epsilon',
+                      'varepsilon', 'zeta', 'eta', 'theta', 'vartheta',
+                      'iota', 'kappa', 'lambda', 'mu', 'nu', 'xi', 'omicron',
+                      'pi', 'varpi', 'rho', 'varrho', 'sigma', 'varsigma',
+                      'tau', 'upsilon', 'phi', 'varphi', 'chi', 'psi', 'omega',
+                      # Upper Case
+                      'Gamma', 'Delta', 'Theta', 'Lambda', 'Xi', 'Pi', 'Sigma',
+                      'Upsilon', 'Phi', 'Psi', 'Omega'])
 
         other = set( ['aleph', 'beth', 'daleth', 'gimel', 'ell', 'eth',
                       'hbar', 'hslash', 'mho' ])



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to