Sha256: 4a4f879486ceaceb2d3a25e46b95b935f8491863a1d6c4ce95dea49e71299c8a
Contents?: true
Size: 878 Bytes
Versions: 7
Compression:
Stored size: 878 Bytes
Contents
module Plurimath module Math module Symbols class Alpha < Symbol INPUT = { unicodemath: [["alpha", "α"], parsing_wrapper(["upalpha"])], asciimath: [["alpha", "α"], parsing_wrapper(["upalpha"])], 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
7 entries across 7 versions & 1 rubygems