Sha256: 3e65c18228362c4b9d5a91e05725e2d4cf28acf653621ab205c7264f7d928e99
Contents?: true
Size: 886 Bytes
Versions: 2
Compression:
Stored size: 886 Bytes
Contents
module Plurimath module Math module Symbols class Nmid < Symbol INPUT = { unicodemath: [["nmid", "∤"]], asciimath: [["∤"], parsing_wrapper(["nmid"], lang: :asciimath)], mathml: ["∤"], latex: [["nmid", "∤"]], omml: ["∤"], html: ["∤"], }.freeze # output methods def to_latex "\\nmid" end def to_asciimath parsing_wrapper("nmid", 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.8.14 | lib/plurimath/math/symbols/nmid.rb |
plurimath-0.8.13 | lib/plurimath/math/symbols/nmid.rb |