Sha256: 40aba14874f190bf70839e1acba557572266b7f903459d83e9fa7af8d841875e
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
Contents
module Plurimath module Math module Symbols class Paren class Rfloor < Paren INPUT = { unicodemath: [["⌋", "rfloor"], parsing_wrapper(["__|"])], asciimath: [["rfloor", "__|", "⌋"]], mathml: ["⌋"], latex: [["\\rfloor", "⌋"], parsing_wrapper(["__|"])], omml: ["⌋"], html: ["⌋"], }.freeze # output methods def to_latex "\\rfloor" end def to_asciimath "__|" end def to_unicodemath encoded end def to_mathml_without_math_tag(_) ox_element("mo") << encoded end def to_omml_without_math_tag(_) "⌋" end def to_html "⌋" end def open? false end def close? true end def opening Lfloor end private def encoded Utility.html_entity_to_unicode("⌋") end 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/paren/rfloor.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/paren/rfloor.rb |