Sha256: aed355e2cb7591258e776fc0ad1984a2d497066a626c9d14360680b32a35fda2
Contents?: true
Size: 939 Bytes
Versions: 14
Compression:
Stored size: 939 Bytes
Contents
module Plurimath module Math module Symbols class Gamma < Symbol INPUT = { unicodemath: [["gamma", "γ"], parsing_wrapper(["upgamma"], lang: :unicode)], asciimath: [["gamma", "γ"], parsing_wrapper(["upgamma"], lang: :asciimath)], mathml: ["γ"], latex: [["upgamma", "gamma", "γ"]], omml: ["γ"], html: ["γ"], }.freeze # output methods def to_latex(**) "\\gamma" end def to_asciimath(**) "gamma" 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