MapleTA[Builtin]
mathml
format an expression in MathML
Calling Sequence
Parameters
Description
Examples
Compatibility
mathml(f)
mathml(f, nosimplify)
f
-
string or expression
nosimplify
string, identical(nosimplify)
The mathml command returns a string consisting of the formula f typeset in MathML.
Note: The MathML is generated as a string of tags. It is not rendered. Use MathML:-Import to convert the string back to a displayable expression.
By default, mathml(f) automatically simplifies the formula. To prevent auto-simplification, use the nosimplify option. The nosimplify option only makes sense when f is a command string. Otherwise simplifications have already been performed on f and cannot be prevented.
MapleTA:-Builtin:-mathml⁡x^2
<math xmlns='http://www.w3.org/1998/Math/MathML'><semantics><mrow xref='id3'><msup><mi xref='id1'>x</mi><mn xref='id2'>2</mn></msup></mrow><annotation-xml encoding='MathML-Content'><apply id='id3'><power/><ci id='id1'>x</ci><cn id='id2' type='integer'>2</cn></apply></annotation-xml><annotation encoding='Maple'>x^2</annotation></semantics></math>
MapleTA:-Builtin:-mathml⁡x^2 + 4/8,nosimplify
<math xmlns='http://www.w3.org/1998/Math/MathML'><mrow><msup><mrow><mi>x</mi></mrow><mn>2</mn></msup><mo>+</mo><mfrac><mrow><mn>4</mn></mrow><mrow><mn>8</mn></mrow></mfrac></mrow></math>
The MapleTA[Builtin][mathml] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
InertForm
MapleTA
MathML
Download Help Document
What kind of issue would you like to report? (Optional)