Sha256: ceee96e3329bc08dbfdeae0c281743a8b25cc710b6e94df170a60bc346b70d6c

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 Bytes

Contents

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

        # output methods
        def to_latex
          "\\supsetapprox"
        end

        def to_asciimath
          parsing_wrapper("supsetapprox")
        end

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

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

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

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