Skip to main content

Math Fragment

A fragment of math, e.g a variable name, to be treated as inline content.

Properties#

Name@idTypeDescriptionInherited from
textschema:textstringThe text of the equation in the language.Math
errorsstencila:errorsArray of stringErrors that occurred when parsing the math equation. See note 1.Math
idschema:idstringThe identifier for this item.Entity
mathLanguagestencila:mathLanguagestringThe language used for the equation e.g tex, mathml, asciimath.Math
metastencila:metaobjectMetadata associated with this item.Entity

Notes#

  1. errors : !array('This property is an array of strings. Compare this to ')CodeChunk.errors!array(' which is an array of ')CodeError!array(" nodes. Strings are considered to be sufficient for math parsing errors which usually won't have stack traces, line numbers etc.")

Related#

  • Parent: Math
  • Descendants: None

Available as#

Source#

This documentation was generated from MathFragment.schema.yaml.