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