tex() function problem.



This seems a trivial issue:

tex(x^0.5) illustrates the problem.  I think it should return

$$x^{0.5}$$, not $$x^0.5$$.

Regards
Chris