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