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