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