Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

%display latex I think is intended more for use in the notebook, where the latex would actually be rendered. I'm not sure why so much of the latex display output includes the \newcommand{\Bold} definition--seems like a historical artifact and I'm not sure if it's still necessary. But if you just want the plain latex formatting for some output you can do:

sage: latex(integrate(x^2,x))
\frac{1}{3} \, x^{3}