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