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[source]#

Bases: str

sage.misc.mathml.bool_function(x)[source]#
sage.misc.mathml.list_function(x)[source]#
sage.misc.mathml.mathml(x)[source]#

Output x formatted for inclusion in a MathML document.

sage.misc.mathml.str_function(x)[source]#
sage.misc.mathml.tuple_function(x)[source]#