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