Sha256: ffdc7c6a178770c9ed313b3e6c6dba0abd5d543b958ad7eb8487b5620b63759c

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

module Plurimath
  module Math
    module Symbols
      class Nsqsuperseteq < Symbol
        INPUT = {
          unicodemath: [["nsqsuperseteq", "&#x22e3;"], parsing_wrapper(["nsqsupseteq"], lang: :unicode)],
          asciimath: [["&#x22e3;"], parsing_wrapper(["nsqsuperseteq", "nsqsupseteq"], lang: :asciimath)],
          mathml: ["&#x22e3;"],
          latex: [["nsqsupseteq", "&#x22e3;"], parsing_wrapper(["nsqsuperseteq"], lang: :latex)],
          omml: ["&#x22e3;"],
          html: ["&#x22e3;"],
        }.freeze

        # output methods
        def to_latex
          "\\nsqsupseteq"
        end

        def to_asciimath
          parsing_wrapper("nsqsuperseteq", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x22e3;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/nsqsuperseteq.rb
plurimath-0.8.13 lib/plurimath/math/symbols/nsqsuperseteq.rb