I have a very simple application that is generating equations, very simple ones, like
4 + 5 = x
x + 4 = 12
15 / x = 3
x^2 = 4
sqrt(6) = x
When I display it to myself equations like x + 4 = 12
is fine, I can read it pretty well but it would be nice if x^2 = 4
would be displayed as it x2 = 4. It does not have to be as image, it could be anything else, but it should be so user can understand the equation.
Is there is some library that can help me with that?