Sha256: a014d9eafb5a1525b95580d3950807abac2972cac5b863cc321aeea47683872a
Contents?: true
Size: 860 Bytes
Versions: 2
Compression:
Stored size: 860 Bytes
Contents
module Plurimath module Math module Symbols class UpcasePi < Symbol INPUT = { unicodemath: [["Pi", "Π"], parsing_wrapper(["upPi"])], asciimath: [["Pi", "Π"], parsing_wrapper(["upPi"])], mathml: ["Π"], latex: [["upPi", "Pi", "Π"]], omml: ["Π"], html: ["Π"], }.freeze # output methods def to_latex "\\Pi" end def to_asciimath "Pi" 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/upcase_pi.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/upcase_pi.rb |