Sha256: fb9ba4b4d5ffe55ece4bf0dbd9050dd266f28c820cd41a9a463a92b025f0f56e
Contents?: true
Size: 935 Bytes
Versions: 14
Compression:
Stored size: 935 Bytes
Contents
module Plurimath module Math module Symbols class Grad < Symbol INPUT = { unicodemath: [["nabla", "∇"], parsing_wrapper(["grad"], lang: :unicode)], asciimath: [["nabla", "grad", "∇"]], mathml: ["∇"], latex: [["nabla", "∇"], parsing_wrapper(["grad"], lang: :latex)], omml: ["∇"], html: ["∇"], }.freeze # output methods def to_latex(**) "\\nabla" end def to_asciimath(**) "nabla" 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
14 entries across 14 versions & 1 rubygems