Class: Metanorma::Document::Components::Inline::SemanticMathElement
- Inherits:
-
MathElement
- Object
- Lutaml::Model::Serializable
- MathElement
- Metanorma::Document::Components::Inline::SemanticMathElement
- Defined in:
- lib/metanorma/document/components/inline/semantic_math_element.rb
Overview
Math content inside a semantic <stem> element. Represents the
canonical form of the math — decimal periods, no locale-specific
thousands separators.
Subclass of MathElement so consumers that don't care about the
distinction continue to work via the base class. Consumers that
need to distinguish semantic from rendered forms use
math.is_a?(SemanticMathElement) vs math.is_a?(RenderedMathElement).