Sha256: 58d9d54b2771284af965e75a21fc0c5d0a7996bd99e086b192fe360f5bd29120

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

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

        # output methods
        def to_latex
          "\\precneqq"
        end

        def to_asciimath
          parsing_wrapper("precneqq")
        end

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

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

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

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