1 | initial version |
sage: e=x.mul(y,hold=True)+1
sage: e
x*y + 1
sage: latex(e)
x y + 1
In general, hold=True
is what you want, though this is a little weird for plus and times.
I think we'd have to override the multiplication latex method to get the \times
, though this should be possible.