Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3353 by jakob.ga...@gmail.com: latex code for piecewise messed up
http://code.google.com/p/sympy/issues/detail?id=3353
from sympy import Piecewise, latex
p=Piecewise((x, x < 1), (1, 1 <= x))
latex(p)
gives the following output:
\begin{cases} x & \text{for}: x \lt 1 \1 \leq x & \text{for}: 1 \end{cases}
rendered as:
x for x<1
1≤x for 1
This is somehow messed up. I would expect something like:
x for x<1
1 for 1≤x
The function p evaluates correctly so I assume the issue is just related to
the latex() function.
thx
Jakob
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.