MathML output support#

In order to support MathML formatting, an object should define a special method _mathml_(self) that returns its MathML representation.

class sage.misc.mathml.MathML#

Bases: str

sage.misc.mathml.bool_function(x)#
sage.misc.mathml.list_function(x)#
sage.misc.mathml.mathml(x)#

Output x formatted for inclusion in a MathML document.

sage.misc.mathml.str_function(x)#
sage.misc.mathml.tuple_function(x)#