Sha256: 9273f09af8d1f6b3f83462f966395601bd656eb38cf54dc4769295901a4e3632
Contents?: true
Size: 881 Bytes
Versions: 2
Compression:
Stored size: 881 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plurimath-0.8.12 | lib/plurimath/math/symbols/alpha.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/alpha.rb |