Sha256: be74996543a3ccfb7224f91e86c61bb1ed0c6cd62f009172065e438ec21b6184
Contents?: true
Size: 898 Bytes
Versions: 14
Compression:
Stored size: 898 Bytes
Contents
module Plurimath module Math module Symbols class Im < Symbol INPUT = { unicodemath: [["Im", "ℑ"]], asciimath: [["ℑ"], parsing_wrapper(["Im"], lang: :asciimath)], mathml: ["ℑ"], latex: [["Im", "ℑ"]], omml: ["ℑ"], html: ["ℑ"], }.freeze # output methods def to_latex(**) "\\Im" end def to_asciimath(**) parsing_wrapper("Im", 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
Version data entries
14 entries across 14 versions & 1 rubygems