class math(object): (source)
Known subclasses: docutils.utils.math.latex2mathml.mfenced, docutils.utils.math.latex2mathml.mfrac, docutils.utils.math.latex2mathml.mover, docutils.utils.math.latex2mathml.mroot, docutils.utils.math.latex2mathml.mrow, docutils.utils.math.latex2mathml.mspace, docutils.utils.math.latex2mathml.msqrt, docutils.utils.math.latex2mathml.mstyle, docutils.utils.math.latex2mathml.msub, docutils.utils.math.latex2mathml.msubsup, docutils.utils.math.latex2mathml.msup, docutils.utils.math.latex2mathml.mtable, docutils.utils.math.latex2mathml.mtext, docutils.utils.math.latex2mathml.munder, docutils.utils.math.latex2mathml.munderover, docutils.utils.math.latex2mathml.mx
Constructor: math(children, inline)
Base class for MathML elements.
| Method | __init__ |
math([children]) -> MathML element |
| Method | __repr__ |
Undocumented |
| Method | append |
append(child) -> element |
| Method | close |
close() -> parent |
| Method | delete |
delete_child() -> child |
| Method | full |
Room for more children? |
| Method | xml |
xml() -> xml-string |
| Method | xml |
Undocumented |
| Method | xml |
Undocumented |
| Method | xml |
Undocumented |
| Class Variable | nchildren |
Required number of children |
| Instance Variable | children |
Undocumented |
| Instance Variable | inline |
Undocumented |
docutils.utils.math.latex2mathml.mfenced, docutils.utils.math.latex2mathml.mover, docutils.utils.math.latex2mathml.mstyle, docutils.utils.math.latex2mathml.msubsup, docutils.utils.math.latex2mathml.mtext, docutils.utils.math.latex2mathml.munderover, docutils.utils.math.latex2mathml.mxmath([children]) -> MathML element
children can be one child or a list of children.
append(child) -> element
Appends child and returns self if self is not full or first non-full parent.
docutils.utils.math.latex2mathml.mfrac, docutils.utils.math.latex2mathml.mover, docutils.utils.math.latex2mathml.mroot, docutils.utils.math.latex2mathml.mspace, docutils.utils.math.latex2mathml.msqrt, docutils.utils.math.latex2mathml.mstyle, docutils.utils.math.latex2mathml.msub, docutils.utils.math.latex2mathml.msubsup, docutils.utils.math.latex2mathml.msup, docutils.utils.math.latex2mathml.mtext, docutils.utils.math.latex2mathml.munder, docutils.utils.math.latex2mathml.munderover, docutils.utils.math.latex2mathml.mxRequired number of children