InertForm
ToMathML
convert an inert-form structure into a MathML string
Calling Sequence
Parameters
Description
Package Usage
Examples
Compatibility
ToMathML( expr )
expr
-
expression
The ToMathML command accepts an inert-form structure and returns a MathML string suitable for display in a browser or other tool that accepts presentation MathML. The encoded result will render the expression in standard math notation.
This function is part of the InertForm package, so it can be used in the short form ToMathML(..) only after executing the command with(InertForm). However, it can always be accessed through the long form of the command by using InertForm[ToMathML](..).
with⁡InertForm:
ex≔Parse⁡(1+2)/6
ex≔1+26
ToMathML⁡ex
<math xmlns='http://www.w3.org/1998/Math/MathML'><mfrac><mrow><mrow><mn>1</mn><mo>+</mo><mn>2</mn></mrow></mrow><mrow><mn>6</mn></mrow></mfrac></math>
The InertForm[ToMathML] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
InertForm:-Display
InertForm:-Parse
InertForm:-Typeset
MathML
Download Help Document