Sha256: a1d3aef7a1e0a13c8d290fc2fefce40229f63816dc7b4f0d68ef63caf94588ed

Contents?: true

Size: 911 Bytes

Versions: 2

Compression:

Stored size: 911 Bytes

Contents

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

        # output methods
        def to_latex
          "\\sqsubsetneq"
        end

        def to_asciimath
          parsing_wrapper("sqsubsetneq")
        end

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

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

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

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