Sha256: 243067d4ba875b82f73a10ea04d177b1affb394489105407da30de2f543ec2da

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

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

        # output methods
        def to_latex
          "\\succneq"
        end

        def to_asciimath
          parsing_wrapper("succneq")
        end

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

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

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

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