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