module Plurimath module Math module Symbols class Upsilon < Symbol INPUT = { unicodemath: [["upsilon", "υ"], parsing_wrapper(["upupsilon"], lang: :unicode)], asciimath: [["upsilon", "υ"], parsing_wrapper(["upupsilon"], lang: :asciimath)], 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