Sha256: f81309571e2bcff33ea98274b7808c873ff73879601cfb01eda009aaaf472c6b
Contents?: true
Size: 881 Bytes
Versions: 2
Compression:
Stored size: 881 Bytes
Contents
module Plurimath module Math module Symbols class Sigma < Symbol INPUT = { unicodemath: [["sigma", "σ"], parsing_wrapper(["upsigma"])], asciimath: [["sigma", "σ"], parsing_wrapper(["upsigma"])], mathml: ["σ"], latex: [["upsigma", "sigma", "σ"]], omml: ["σ"], html: ["σ"], }.freeze # output methods def to_latex "\\sigma" end def to_asciimath "sigma" 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/sigma.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/sigma.rb |