Sha256: 11374987ad51e8f4098b02e591fe4afd4be15498bf3ddeb8aac5f086b492805d
Contents?: true
Size: 916 Bytes
Versions: 15
Compression:
Stored size: 916 Bytes
Contents
module Plurimath module Math module Symbols class Asymp < Symbol INPUT = { unicodemath: [["asymp", "≍"]], asciimath: [["≍"], parsing_wrapper(["asymp"], lang: :asciimath)], mathml: ["≍"], latex: [["asymp", "≍"]], omml: ["≍"], html: ["≍"], }.freeze # output methods def to_latex(**) "\\asymp" end def to_asciimath(**) parsing_wrapper("asymp", lang: :asciimath) end def to_unicodemath(**) Utility.html_entity_to_unicode("≍") end def to_mathml_without_math_tag(_, **) ox_element("mi") << "≍" 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