Sha256: 2f95276d11346c74b5585ba799e9dca5e24642c1b0db0f119e4a7ec98603cfaa
Contents?: true
Size: 874 Bytes
Versions: 2
Compression:
Stored size: 874 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.8.14 | lib/plurimath/math/symbols/im.rb |
plurimath-0.8.13 | lib/plurimath/math/symbols/im.rb |