Hi Robert,
On Sat, 21 Nov 2009 15:20:34 -0800 (PST)
"[email protected]" <[email protected]> wrote:
> The following LaTeX exporession is not nice
>
> sage: latex(x*(1/(x^2)+sqrt(x^7)))
> {(\sqrt{x^{7}} + \frac{1}{x^{2}})} x
>
> far better would be
>
> sage: latex(x*(1/(x^2)+sqrt(x^7)))
> {\left(\sqrt{x^{7}} + \frac{1}{x^{2}}\right)} x
I agree.
> Is the following code from pynac from file mul.cpp responsible for
> converting product into LaTeX? What is wrong with this. code? I see
> some \left and \right, but these commands do not appear in output of
> latex command.
<snip code segment>
The problem was that add and mul objects in pynac printed normal
parenthesis around themselves even in latex mode. I fixed this problem,
along with the one reported in #7406:
http://trac.sagemath.org/sage_trac/ticket/7406
The last comment has a link to a new pynac package with instructions
on how to test things.
Thanks.
Burcin
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org