Sha256: e51a9148a54a1b0afaa6bffc9e96344a0261ac18c0513c433652d2dfe9bf25e0

Contents?: true

Size: 880 Bytes

Versions: 2

Compression:

Stored size: 880 Bytes

Contents

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

        # output methods
        def to_latex
          "\\supsetneq"
        end

        def to_asciimath
          parsing_wrapper("supsetneq")
        end

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

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

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

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