Ask Your Question

Revision history [back]

Hello,

You will get the same error with

html("$a^b^c$")

The right way to do it is to enclose the expression in exponent with "{" and "}"

html("$a^{b^c}$")

In your example, because you use format, these must be double curly braces. In other words

 s = "$\int_{{{2}}}^{{{3}}}  \int_{{{4}}}^{{{5}}} {0} \,dxdy = {1} $"

Vincent