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