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