Ask Your Question

Revision history [back]

click to hide/show revision 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.