Sha256: a0979cacc4bab226327fb18f59ef10327e94b27cfcbff8234cacb54896c148c3

Contents?: true

Size: 886 Bytes

Versions: 2

Compression:

Stored size: 886 Bytes

Contents

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

        # output methods
        def to_latex
          "\\sqsupseteq"
        end

        def to_asciimath
          parsing_wrapper("sqsupseteq")
        end

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

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

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

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