Sha256: bb891a1abedb89fca1a23310baa61aca08520e07f8afbcf27e3d715a619829ba

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Rbracklend < Symbol
        INPUT = {
          unicodemath: [["&#x23a6;"], parsing_wrapper(["rbracklend"])],
          asciimath: [["&#x23a6;"], parsing_wrapper(["rbracklend"])],
          mathml: ["&#x23a6;"],
          latex: [["rbracklend", "&#x23a6;"]],
          omml: ["&#x23a6;"],
          html: ["&#x23a6;"],
        }.freeze

        # output methods
        def to_latex
          "\\rbracklend"
        end

        def to_asciimath
          parsing_wrapper("rbracklend")
        end

        def to_unicodemath
          Utility.html_entity_to_unicode("&#x23a6;")
        end

        def to_mathml_without_math_tag(_)
          ox_element("mi") << "&#x23a6;"
        end

        def to_omml_without_math_tag(_)
          "&#x23a6;"
        end

        def to_html
          "&#x23a6;"
        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/rbracklend.rb
plurimath-0.8.11 lib/plurimath/math/symbols/rbracklend.rb