Class: Metanorma::Plugin::Glossarist::NonVerbalFormatters::Formula

Inherits:
Base
  • Object
show all
Defined in:
lib/metanorma/plugin/glossarist/non_verbal_formatters/formula.rb

Overview

Renders a Glossarist::Formula as an AsciiDoc stem block.

The expression hash is keyed by language (matching caption/alt); the notation field carries the markup language (latex, mathml, asciimath) but the body is format-agnostic — Metanorma’s stem block accepts any notation supported by the renderer.

Method Summary

Methods inherited from Base

#initialize, #to_asciidoc

Constructor Details

This class inherits a constructor from Metanorma::Plugin::Glossarist::NonVerbalFormatters::Base