| 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.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.