Sha256: 5cb7a4cc771af22eca1485acd89c5a3a6039ad9a5a88e50f8dbe86672c01d01c
Contents?: true
Size: 922 Bytes
Versions: 10
Compression:
Stored size: 922 Bytes
Contents
module Plurimath module Math module Symbols class Boxdot < Symbol INPUT = { unicodemath: [["boxdot", "⊡"]], asciimath: [["⊡"], parsing_wrapper(["boxdot"], lang: :asciimath)], mathml: ["⊡"], latex: [["boxdot", "⊡"]], omml: ["⊡"], html: ["⊡"], }.freeze # output methods def to_latex(**) "\\boxdot" end def to_asciimath(**) parsing_wrapper("boxdot", 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