ToMathML - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


InertForm

  

ToMathML

  

convert an inert-form structure into a MathML string

 

Calling Sequence

Parameters

Description

Package Usage

Examples

Compatibility

Calling Sequence

ToMathML( expr )

Parameters

expr

-

expression

Description

• 

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.

Package Usage

• 

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](..).

Examples

withInertForm:

exParse(1+2)/6

ex1+26

(1)

ToMathMLex

<math xmlns='http://www.w3.org/1998/Math/MathML'><mfrac><mrow><mrow><mn>1</mn><mo>&plus;</mo><mn>2</mn></mrow></mrow><mrow><mn>6</mn></mrow></mfrac></math>

(2)

Compatibility

• 

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