Sha256: 9e79b51c875e5dd356d32a4344278ad0b796bb124a18e7fec2b59c8c9ecc00a1

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

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

        # output methods
        def to_latex
          "\\precneq"
        end

        def to_asciimath
          parsing_wrapper("precneq")
        end

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

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

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

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