Sha256: a66b30a3dbb0635a23a1df7cc874b8fc89e2ed72bfa16ecffa2aa4f904688fd3

Contents?: true

Size: 896 Bytes

Versions: 2

Compression:

Stored size: 896 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Supe < 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
          "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/supe.rb
plurimath-0.8.11 lib/plurimath/math/symbols/supe.rb