Crate mathml_core

Source
Expand description

§MathML core types

This package contains the core types for MathML.

Modules§

helpers
Helper functions for MathML Core.

Structs§

MathError
The <merror> element is used to display contents as error messages.
MathFenced
The <mfenced> element provides the possibility to add custom opening and closing parentheses and separators to an expression.
MathFraction
The <mfrac> element is used to display fractions.
MathFunction
Mark a function with arguments.
MathIdentifier
The <mi> element indicates that the content should be rendered as an identifier such as function names, variables or symbolic constants.
MathMultiScript
The <mmultiscripts> element is used to attach an arbitrary number of subscripts and superscripts to an expression at once
MathNumber
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.
MathOperator
The <mo> element represents an operator in a broad sense.
MathPhantom
The <mphantom> element is rendered invisibly, but dimensions such as height, width, and baseline position, are still kept.
MathRoot
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>.
MathSpace
The <mspace> element is used to display a blank space, whose size is set by its attributes.
MathSqrt
The <mroot> or <msqrt> element is used to display roots with an explicit index.
MathStyle
The <mspace> element is used to insert space characters into a mathematical formula.
MathTable
The <mtable> element allows you to create tables or matrices.
MathText
The <mtext> element is used to display text in a math formula.
MathUnderOver
The <munderover> element is used to attach accents or limits both under and over an expression.

Enums§

FontVariant
Font variant for <mi>, used as mathvariant attribute.
LineThickness
Line thickness for <mfrac>, used as linethickness attribute.
MathML
Represent the MathML AST node, For semantic considerations, not exactly the same as the standard.

Traits§

MathElement
A trait for all MathML elements.