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