Sha256: ca7a4741a868fe2e836a27eee10c952501bfe64f14b96631086f2cda7a8d5215
Contents?: true
Size: 1.13 KB
Versions: 2
Compression:
Stored size: 1.13 KB
Contents
module Plurimath module Math module Symbols class Paren class Lbrack < Paren INPUT = { unicodemath: ["[", "lbrack"], asciimath: [["["], parsing_wrapper(["lbrack"])], mathml: ["["], latex: ["\\lbrack", "["], omml: ["["], html: ["["], }.freeze # output methods def to_latex "\\lbrack" end def to_asciimath parsing_wrapper("lbrack") end def to_unicodemath encoded end def to_mathml_without_math_tag(_) ox_element("mi") << encoded end def to_omml_without_math_tag(_) "[" end def to_html "[" end def open? true end def close? false end def closing Rbrack 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/lbrack.rb |
plurimath-0.8.11 | lib/plurimath/math/symbols/paren/lbrack.rb |