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