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