Sha256: 9603ba0c07e34c140d66a76b835944836f2d803243c080bcabc0309eaaebb4c3
Contents?: true
Size: 887 Bytes
Versions: 2
Compression:
Stored size: 887 Bytes
Contents
module Plurimath module Math module Symbols class UpcaseSigma < 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/upcase_sigma.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/upcase_sigma.rb |