Sha256: d201a3b923f0d4a6f535b8cb0c66a4101ef1413a331229a9ef0467dfb7691694
Contents?: true
Size: 915 Bytes
Versions: 2
Compression:
Stored size: 915 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.8.14 | lib/plurimath/math/symbols/gamma.rb |
plurimath-0.8.13 | lib/plurimath/math/symbols/gamma.rb |