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