Hi, I am wondering if there is a way to include subscripts or superscripts in Daniweb?

I just answered a question about polynomials and it would have been nice to have more math symbols available to discuss math-related topics when they come up.

For example, instead of writing a polynomial as follows:

`a0*x^0 + a1*x^1 + a2*x^2 + a3*x^3 + . . .`

it would have been nice to write it with the proper subscripts and superscripts. I tried to use HTML code (<sub> and <sup>), but that didn't work. Am I overlooking something?

Also, another bit of annoying behaviour: when the line above is not wrapped in code tags, the '*' sign is removed and the characters are pushed together. For example, `a2*x^2`

becomes `a2x^2`

when the post is actually posted. Is there a way to stop this behaviour?