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

New issue 2576 by asmeurer: latex(1/x**2) should return a \frac
http://code.google.com/p/sympy/issues/detail?id=2576

Now that SymPy Live and soon the IPython QT console use LaTeX output, there are going to be a lot of issues about non-ideal LaTeX printing. We already have issue 990, issue 2519, and issue 1967, and probably others (search the issues for "latex"). The LaTeX printer, at least the one used by these displayhooks, should act just like the pretty printer.

Here is another one.  We have

In [4]: latex(1/x**2)
Out[4]: x^{-2}

This maybe makes sense for inline mode, but it is not ideal for the above mentioned uses. Perhaps the latex() function should have more options to modify the behavior with things like this.




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