Sha256: cfedaaa06c845acca815ba2b67e341ad82f408f13a314830092f1fe766d893c3

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rbracklrtick"
        end

        def to_asciimath
          parsing_wrapper("rbracklrtick")
        end

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

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

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

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