Status: Accepted
Owner: [email protected]
Labels: Type-Enhancement Priority-Medium

New issue 1248 by [email protected]: Improve LaTeX printing support
http://code.google.com/p/sympy/issues/detail?id=1248

As discussed here:  
http://groups.google.com/group/sympy/browse_thread/thread/6b4d4d44218d9af5  
the attached
patch improves the LaTeX printing support by adding function bracket  
(tan(y) => tan y) and
fractional power (a^\frac{p/q} => a^{p/q}) support. Both are disabled by  
default.

A quick fix for issue 1247 is also provided. (So x^{a} is output as opposed  
to {x}^{a}, which allows
for x to have a subscript component.) However, it more works around it  
rather than all-out fixing it.

I have tested the function bracket folding on many expressions, and it  
seems to do reasonably well.
Be interested to know if any expressions are ambiguous when the brackets  
are removed.

Attachments:
        0001-Add-support-for-function-bracket-and-fractional-powe.patch  4.8 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to