Sha256: 42270291105c716d5aef12173fa5bb0d03eaf5ebbb4566806aacb552b023d4f9
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
Contents
module Plurimath module Math module Symbols class Paren class Lfloor < Paren INPUT = { unicodemath: [["⌊", "lfloor"], parsing_wrapper(["|__"])], asciimath: [["lfloor", "|__", "⌊"]], mathml: ["⌊"], latex: [["\\lfloor", "⌊"], parsing_wrapper(["|__"])], omml: ["⌊"], html: ["⌊"], }.freeze # output methods def to_latex "\\lfloor" 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? true end def close? false end def closing Rfloor 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/lfloor.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/paren/lfloor.rb |