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