MathMLForm

MathMLForm[expr]

prints as a MathML form of expr.

Details

Examples

open allclose all

Basic Examples  (2)

A typeset expression:

A special character:

Scope  (7)

Subscripts and superscripts:

Overscripts and underscripts:

List structures:

A matrix:

Logic operations:

A definite sum:

A special function:

Generalizations & Extensions  (1)

MathMLForm gives MathML for the TraditionalForm expression:

Obtain MathML for the expression in StandardForm:

Properties & Relations  (5)

Convert an expression to MathML:

Use ToExpression to convert MathML back to Wolfram Language syntax:

Use ToExpression to convert from any MathML to the Wolfram Language:

Use Export to generate a MathML document, including semantic markup:

Add formatting via Format:

When an input evaluates to MathMLForm[expr], MathMLForm does not appear in the output:

Out is assigned the value x2, not MathMLForm[x^2]:

Possible Issues  (1)

Even when an output omits MathMLForm from the top level, it is not stripped from subexpressions:

The output does not have MathMLForm in it:

However, the variable e does have MathMLForm in it, which may affect subsequent evaluations:

The product is not evaluated due to the intervening MathMLForm:

Assign variables first and then apply MathMLForm to the result to maintain computability:

Wolfram Research (2000), MathMLForm, Wolfram Language function, https://reference.wolfram.com/language/ref/MathMLForm.html.

Text

Wolfram Research (2000), MathMLForm, Wolfram Language function, https://reference.wolfram.com/language/ref/MathMLForm.html.

CMS

Wolfram Language. 2000. "MathMLForm." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MathMLForm.html.

APA

Wolfram Language. (2000). MathMLForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MathMLForm.html

BibTeX

@misc{reference.wolfram_2024_mathmlform, author="Wolfram Research", title="{MathMLForm}", year="2000", howpublished="\url{https://reference.wolfram.com/language/ref/MathMLForm.html}", note=[Accessed: 23-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_mathmlform, organization={Wolfram Research}, title={MathMLForm}, year={2000}, url={https://reference.wolfram.com/language/ref/MathMLForm.html}, note=[Accessed: 23-November-2024 ]}