Sha256: c0c2c5046748d1818cbd3508401bb8ffca5d869c3e9a7c0dd9ab62f5e049b427
Contents?: true
Size: 939 Bytes
Versions: 14
Compression:
Stored size: 939 Bytes
Contents
module Plurimath module Math module Symbols class Alpha < Symbol INPUT = { unicodemath: [["alpha", "α"], parsing_wrapper(["upalpha"], lang: :unicode)], asciimath: [["alpha", "α"], parsing_wrapper(["upalpha"], lang: :asciimath)], mathml: ["α"], latex: [["upalpha", "alpha", "α"]], omml: ["α"], html: ["α"], }.freeze # output methods def to_latex(**) "\\alpha" end def to_asciimath(**) "alpha" 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
14 entries across 14 versions & 1 rubygems