Sha256: 29cbd4306b55873f05458a68730773d81595340da307461a3c7f33dc51dab79d
Contents?: true
Size: 840 Bytes
Versions: 2
Compression:
Stored size: 840 Bytes
Contents
module Plurimath module Math module Symbols class Zz < Symbol INPUT = { unicodemath: [["ℤ"], parsing_wrapper(["ZZ"])], asciimath: [["ℤ"], parsing_wrapper(["ZZ"])], mathml: ["ℤ"], latex: [["ZZ", "ℤ"]], omml: ["ℤ"], html: ["ℤ"], }.freeze # output methods def to_latex "\\ZZ" end def to_asciimath "ZZ" 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/zz.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/zz.rb |