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