Sha256: 4edd4984fb0a1d7488e02dc6f102f10c08b324787368609fc41a2ddfd1ebf3db
Contents?: true
Size: 951 Bytes
Versions: 14
Compression:
Stored size: 951 Bytes
Contents
module Plurimath module Math module Symbols class Gsiml < Symbol INPUT = { unicodemath: [["⪐"], parsing_wrapper(["gsiml"], lang: :unicode)], asciimath: [["⪐"], parsing_wrapper(["gsiml"], lang: :asciimath)], mathml: ["⪐"], latex: [["gsiml", "⪐"]], omml: ["⪐"], html: ["⪐"], }.freeze # output methods def to_latex(**) "\\gsiml" end def to_asciimath(**) parsing_wrapper("gsiml", 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
14 entries across 14 versions & 1 rubygems