Home

Math

This is a base type for MathFragment and MathBlock and should not normally be instantiated. This type has a similar structure and purpose to CodeStatic which is a base type for CodeFragment, CodeBlock etc.

Properties

The Math type has these properties:

NameDescriptionTypeInherited from
idThe identifier for this item.StringEntity
codeThe code of the equation in the mathLanguage.Cord-
mathLanguageThe language used for the equation e.g tex, mathml, asciimath.String-
authorsThe authors of the math.Author*-
provenanceA summary of the provenance of the math.ProvenanceCount*-
compilationDigestA digest of the code and mathLanguage.CompilationDigest-
compilationMessagesMessages generated while parsing and compiling the math expression.CompilationMessage*-
mathmlThe MathML transpiled from the code.String-
imagesImages of the math.ImageObject*-

Related

The Math type is related to these types:

Bindings

The Math type is represented in:


This documentation was generated from Math.yaml by docs_types.rs.

© 2026 Stencila