Sha256: 87e51aca83412c12c54c9d7ee9014ca69424a70925ce7e9f9d9df5ae67b429d9
Contents?: true
Size: 896 Bytes
Versions: 15
Compression:
Stored size: 896 Bytes
Contents
module Plurimath module Math module Symbols class Equal < Symbol INPUT = { unicodemath: [["=", "="], parsing_wrapper(["equal"], lang: :unicode)], asciimath: [["=", "="], parsing_wrapper(["equal"], lang: :asciimath)], mathml: ["=", "="], latex: [["equal", "=", "="]], omml: ["=", "="], html: ["=", "="], }.freeze # output methods def to_latex(**) "=" end def to_asciimath(**) "=" end def to_unicodemath(**) Utility.html_entity_to_unicode("=") end def to_mathml_without_math_tag(_, **) ox_element("mo") << "=" end def to_omml_without_math_tag(_, **) "=" end def to_html(**) "=" end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems