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