module Plurimath module Math module Symbols class Epsilon < Symbol INPUT = { unicodemath: [["varepsilon", "ε"], parsing_wrapper(["epsilon", "upepsilon"])], asciimath: [["epsilon", "ε"], parsing_wrapper(["varepsilon", "upepsilon"])], mathml: ["ε"], latex: [["upepsilon", "epsilon", "ε"], parsing_wrapper(["varepsilon"])], omml: ["ε"], html: ["ε"], }.freeze # output methods def to_latex "\\varepsilon" end def to_asciimath "epsilon" 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