Sha256: fbe1f44b370146c9156e2749024cedfb49068343e5e08fc2948cbca486541eaf

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rbrackurtick"
        end

        def to_asciimath
          parsing_wrapper("rbrackurtick")
        end

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

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

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

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