Sha256: 2c2b6dd63599d6a939ab17d293bd511058fc4fc59834c45325bf87ba648c190b
Contents?: true
Size: 846 Bytes
Versions: 2
Compression:
Stored size: 846 Bytes
Contents
module Plurimath module Math module Symbols class Imath < Symbol INPUT = { unicodemath: [["imath", "ı"]], asciimath: [["ı"], parsing_wrapper(["imath"])], mathml: ["ı"], latex: [["imath", "ı"]], omml: ["ı"], html: ["ı"], }.freeze # output methods def to_latex "\\imath" end def to_asciimath parsing_wrapper("imath") 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.12 | lib/plurimath/math/symbols/imath.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/imath.rb |