Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium Printing

New issue 2519 by asmeurer: latex((x + y)/exp(x)) is inconsistent with pretty-printer
http://code.google.com/p/sympy/issues/detail?id=2519

In [21]: (x + y)/exp(x)
Out[21]:
         -x
(x + y)⋅ℯ

In [22]: latex((x + y)/exp(x))
Out[22]: \frac{x + y}{e^{x}}

(x + y)/exp(x) and (x + y)*exp(-x) are both canonicalized to the same thing, but printing it as a multiplication is preferable to printing it as a fraction.

--
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.

Reply via email to