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