| 1 | initial version |
I don't think there is any straightforward way to display dynamically evaluated expressions. You can use a combination of the html command and the pretty_print command. The output does seem to have monospaced fonts.
var('u,v,w')
x = u^2 + v^2 + w + integral(e^(u^2), u)
html('The output:')
pretty_print(x)
html('Is it correct?')
Not sure about the documentation of those %latex, %html functions.
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.