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