Sha256: 37f1a9507d540624a4e06cb0ceb39ba8252fdb12e2240df66491552fe8fd2b22
Contents?: true
Size: 899 Bytes
Versions: 2
Compression:
Stored size: 899 Bytes
Contents
module Plurimath module Math module Symbols class UpcaseOmega < Symbol INPUT = { unicodemath: [["Ω"], parsing_wrapper(["UpcaseOmega", "UpcaseupOmega"])], asciimath: [["Omega", "Ω"], parsing_wrapper(["upOmega"])], mathml: ["Ω"], latex: [["upOmega", "Omega", "Ω"]], omml: ["Ω"], html: ["Ω"], }.freeze # output methods def to_latex "\\Omega" 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/upcase_omega.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/upcase_omega.rb |