Sha256: f9e7d164f0dce69c22caaf0672fdfeaea08c269a1f9e607538b13cd31dea94e9

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\supsetplus"
        end

        def to_asciimath
          parsing_wrapper("supsetplus")
        end

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

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

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

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