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