Sha256: 8e397b1540ce9b5433bd62c38148a76c4d1d1967d907b3a900fe1ca20c59813b
Contents?: true
Size: 929 Bytes
Versions: 2
Compression:
Stored size: 929 Bytes
Contents
module Plurimath module Math module Symbols class Enclosediamond < Symbol INPUT = { unicodemath: [["⃟"], parsing_wrapper(["enclosediamond"])], asciimath: [["⃟"], parsing_wrapper(["enclosediamond"])], mathml: ["⃟"], latex: [["enclosediamond", "⃟"]], omml: ["⃟"], html: ["⃟"], }.freeze # output methods def to_latex "\\enclosediamond" end def to_asciimath parsing_wrapper("enclosediamond") 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.8.12 | lib/plurimath/math/symbols/enclosediamond.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/enclosediamond.rb |