Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

MathMLForm

MathMLForm[expr]
prints as a MathML form of expr.
  • MathMLForm gives presentation MathML, although its output can normally be interpreted by Mathematica.
  • MathMLForm acts as a "wrapper", which affects printing, but not evaluation.
  • MathMLForm gives special characters using HTML aliases.
A typeset expression:
A special character:
A typeset expression:
In[1]:=
Click for copyable input
Out[1]//MathMLForm=
 
A special character:
In[1]:=
Click for copyable input
Out[1]//MathMLForm=
Subscripts and superscripts:
Overscripts and underscripts:
List structures:
A matrix:
Logic operations:
A definite sum:
A special function:
MathMLForm gives MathML for the TraditionalForm expression:
Obtain MathML for the expression in StandardForm:
Convert an expression to MathML:
Use ToExpression to convert MathML back to Mathematica syntax:
Use ToExpression to convert from any MathML to Mathematica:
Use Export to generate a MathML document, including semantic markup:
Add formatting via Format:
New in 4.1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF