Sha256: ae1bc989ae9d42689ee7f79740ff157c969648e8c82ddab66cf45e11fc8d3325

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\supseteq"
        end

        def to_asciimath
          parsing_wrapper("supseteq")
        end

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

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

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

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