Sha256: 37de70a60047b8a9472c91a7ba9731f447de4e35bb9371f4d092b067d0d7d33e

Contents?: true

Size: 941 Bytes

Versions: 2

Compression:

Stored size: 941 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rightarrowsupset"
        end

        def to_asciimath
          parsing_wrapper("rightarrowsupset")
        end

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

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

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

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