Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium Printing

New issue 3876 by asmeu...@gmail.com: latex inconsistent with parentheses in powers
http://code.google.com/p/sympy/issues/detail?id=3876

In [23]: (x**x).subs(x, x**x).subs(x, x**x)
Out[23]:
          ⎛    ⎛ x⎞⎞
          ⎜    ⎝x ⎠⎟
          ⎜⎛ x⎞    ⎟
          ⎝⎝x ⎠    ⎠
⎛    ⎛ x⎞⎞
⎜    ⎝x ⎠⎟
⎜⎛ x⎞    ⎟
⎝⎝x ⎠    ⎠

In [24]: print latex((x**x).subs(x, x**x).subs(x, x**x))
\left(\left(x^{x}\right)^{x^{x}}\right)^{\left(x^{x}\right)^{x^{x}}}

If you render the LaTeX, you'll see that it doesn't use parentheses in the powers.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to