Sha256: 9756682a4de4dbd2316009ab5b1bbe0a24bdc9a7b19e029e58203a7bf4d59f72

Contents?: true

Size: 910 Bytes

Versions: 2

Compression:

Stored size: 910 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rrangle"
        end

        def to_asciimath
          parsing_wrapper("rblot")
        end

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

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

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

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