Expand description
§MathML core types
This package contains the core types for MathML.
Modules§
- helpers
- Helper functions for MathML Core.
Structs§
- Math
Error - The
<merror>element is used to display contents as error messages. - Math
Fenced - The
<mfenced>element provides the possibility to add custom opening and closing parentheses and separators to an expression. - Math
Fraction - The
<mfrac>element is used to display fractions. - Math
Function - Mark a function with arguments.
- Math
Identifier - The
<mi>element indicates that the content should be rendered as an identifier such as function names, variables or symbolic constants. - Math
Multi Script - The
<mmultiscripts>element is used to attach an arbitrary number of subscripts and superscripts to an expression at once - Math
Number - The
<mn>element represents a numeric literal which is normally a sequence of digits with a possible separator, such as a dot or a comma. - Math
Operator - The
<mo>element represents an operator in a broad sense. - Math
Phantom - The
<mphantom>element is rendered invisibly, but dimensions such as height, width, and baseline position, are still kept. - Math
Root - The
<math>element is the top-level MathML element, used to write a single mathematical formula. - MathRow
- The
<mrow>element is used to group sub-expressions, which usually contain one or more operators with their respective operands, such as<mi>and<mn>. - Math
Space - The
<mspace>element is used to display a blank space, whose size is set by its attributes. - Math
Sqrt - The
<mroot>or<msqrt>element is used to display roots with an explicit index. - Math
Style - The
<mspace>element is used to insert space characters into a mathematical formula. - Math
Table - The
<mtable>element allows you to create tables or matrices. - Math
Text - The
<mtext>element is used to display text in a math formula. - Math
Under Over - The
<munderover>element is used to attach accents or limits both under and over an expression.
Enums§
- Font
Variant - Font variant for
<mi>, used asmathvariantattribute. - Line
Thickness - Line thickness for
<mfrac>, used aslinethicknessattribute. - MathML
- Represent the MathML AST node, For semantic considerations, not exactly the same as the standard.
Traits§
- Math
Element - A trait for all MathML elements.