Returns a string consisting of the formula f typeset in MathML.
Note: The system renders MathML; the MathML tags do not appear on the screen when the value of the string is displayed. Instead, the rendering appears.
mathml("x^$n")
returns
By default, mathml(f) automatically simplifies the formula. To prevent auto-simplification, use the "nosimplify" option.
For example,
mathml("x^2 + 4/8", "nosimplify")
returns
If you want to include the function in another function, use the "notags" option.
$\sum0^\infty\var{mathml("1/$a x^2 + $b)", "notags")}$
See Also: