Sha256: 960453cd8f672e515d2a5ac611617a6026f8a4963e5eff1e6c2a905e5f47b819
Contents?: true
Size: 878 Bytes
Versions: 7
Compression:
Stored size: 878 Bytes
Contents
module Plurimath module Math module Symbols class Neuter < Symbol INPUT = { unicodemath: [["⚲"], parsing_wrapper(["neuter"])], asciimath: [["⚲"], parsing_wrapper(["neuter"])], mathml: ["⚲"], latex: [["neuter", "⚲"]], omml: ["⚲"], html: ["⚲"], }.freeze # output methods def to_latex "\\neuter" end def to_asciimath parsing_wrapper("neuter") 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
7 entries across 7 versions & 1 rubygems