Sha256: c1381dbdac797c51def311510d51855d273f3fc905be7452b85856d7093dd39a
Contents?: true
Size: 881 Bytes
Versions: 2
Compression:
Stored size: 881 Bytes
Contents
module Plurimath module Math module Symbols class Gamma < Symbol INPUT = { unicodemath: [["gamma", "γ"], parsing_wrapper(["upgamma"])], asciimath: [["gamma", "γ"], parsing_wrapper(["upgamma"])], 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.12 | lib/plurimath/math/symbols/gamma.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/gamma.rb |