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