Sha256: d508b31886b32ec8e823d7ce2701db9b30ea708882d025d83c97a863c17661a8

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rblkbrbrak"
        end

        def to_asciimath
          parsing_wrapper("rblkbrbrak")
        end

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

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

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

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