Sha256: 7554e9ea371b7668267666f274fb995f4287cc096f9f7aa03f686297d4c7a11e
Contents?: true
Size: 989 Bytes
Versions: 2
Compression:
Stored size: 989 Bytes
Contents
module Plurimath module Math module Symbols class Del < Symbol INPUT = { unicodemath: [["partial", "∂"], parsing_wrapper(["del", "partialup"], lang: :unicode)], asciimath: [["partial", "del", "∂"], parsing_wrapper(["partialup"], lang: :asciimath)], mathml: ["∂"], latex: [["partialup", "partial", "∂"], parsing_wrapper(["del"], lang: :latex)], omml: ["∂"], html: ["∂"], }.freeze # output methods def to_latex "\\partial" end def to_asciimath "del" end def to_unicodemath Utility.html_entity_to_unicode("∂") end def to_mathml_without_math_tag(_) ox_element("mo") << "∂" 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/del.rb |
plurimath-0.8.13 | lib/plurimath/math/symbols/del.rb |