Class: Metanorma::Document::Components::Inline::RenderedMathElement

Inherits:
MathElement
  • Object
show all
Defined in:
lib/metanorma/document/components/inline/rendered_math_element.rb

Overview

Math content inside an <fmt-stem><semx> rendered-display element. Represents the locale-rendered form of the math — decimal commas, thousands separators, locale-specific digit grouping.

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?(RenderedMathElement) vs math.is_a?(SemanticMathElement).