#12908: unnecessary blank in latex expression of multivariate polynomial
------------------------------+---------------------------------------------
Reporter: dkrenn | Owner: was
Type: defect | Status: new
Priority: trivial | Milestone: sage-5.1
Component: user interface | Keywords: beginner, latex, blank,
multivariate polynomial
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
------------------------------+---------------------------------------------
In the LaTeX representation of a multivariate polynomial is an unnecessary
blank when variable is concatenated with a {{{-}}}, see
{{{
sage: R.<X,Y> = ZZ[]
sage: latex(X-Y)
X - Y
sage: latex(X^2-X)
X^{2} - X
}}}
It does not happen with {{{+}}}
{{{
sage: latex(X+Y)
X + Y
}}}
or with a constant
{{{
sage: latex(X-1)
X - 1
}}}
In the univarate case the problem does not appear.
Note that this "wrong" output is no problem (i.e. a correct input for
LaTeX)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12908>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac?hl=en.