Sha256: 924365630386736a5e4f5924f722c6e61554a9adc5f7fe13385d22d46fe0af6f
Contents?: true
Size: 1023 Bytes
Versions: 2
Compression:
Stored size: 1023 Bytes
Contents
module Plurimath module Math module Symbols class Partial < Symbol INPUT = { unicodemath: [["partial", "∂", "𝜕"], parsing_wrapper(["del", "partialup"])], asciimath: [["partial", "del", "∂", "𝜕"], parsing_wrapper(["partialup"])], mathml: ["∂", "𝜕"], latex: [["partialup", "partial", "∂", "𝜕"], parsing_wrapper(["del"])], 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.12 | lib/plurimath/math/symbols/partial.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/partial.rb |