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