Sha256: 7c24a0128571425047b3c8b9cb1734e811ebb0613b6637329ec0e6f6628b7ee3
Contents?: true
Size: 951 Bytes
Versions: 14
Compression:
Stored size: 951 Bytes
Contents
module Plurimath module Math module Symbols class House < Symbol INPUT = { unicodemath: [["⌂"], parsing_wrapper(["house"], lang: :unicode)], asciimath: [["⌂"], parsing_wrapper(["house"], lang: :asciimath)], mathml: ["⌂"], latex: [["house", "⌂"]], omml: ["⌂"], html: ["⌂"], }.freeze # output methods def to_latex(**) "\\house" end def to_asciimath(**) parsing_wrapper("house", 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