Sha256: b960347136002678d60f94fe103055bd680e104e9b016ad40afcfdf4b38788ad

Contents?: true

Size: 971 Bytes

Versions: 2

Compression:

Stored size: 971 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class UpcaseRbrack < Symbol
        INPUT = {
          unicodemath: [["&#x27e7;"], parsing_wrapper(["rrbracket", "rBrack", "UpcaseRbrack"])],
          asciimath: [["&#x27e7;"], parsing_wrapper(["rrbracket", "rBrack", "UpcaseRbrack"])],
          mathml: ["&#x27e7;"],
          latex: [["rrbracket", "rBrack", "Rbrack", "&#x27e7;"]],
          omml: ["&#x27e7;"],
          html: ["&#x27e7;"],
        }.freeze

        # output methods
        def to_latex
          "\\rrbracket"
        end

        def to_asciimath
          parsing_wrapper("Rbrack")
        end

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

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

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

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