Sha256: f0866c51eb37ed8a5a7e66fe5776d6f8cb5acf47560970e09b5aa40cdea3e84a
Contents?: true
Size: 998 Bytes
Versions: 16
Compression:
Stored size: 998 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
16 entries across 16 versions & 1 rubygems