Sha256: 0e8891a5deb2edcff2c78987931a9995e337751f6ad5cb2736f7213280b47ccc

Contents?: true

Size: 859 Bytes

Versions: 7

Compression:

Stored size: 859 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nequiv"
        end

        def to_asciimath
          parsing_wrapper("nequiv")
        end

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

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

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

        def to_html
          "&#x2262;"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/nequiv.rb
plurimath-0.8.9 lib/plurimath/math/symbols/nequiv.rb
plurimath-0.8.8 lib/plurimath/math/symbols/nequiv.rb
plurimath-0.8.7 lib/plurimath/math/symbols/nequiv.rb
plurimath-0.8.6 lib/plurimath/math/symbols/nequiv.rb
plurimath-0.8.5 lib/plurimath/math/symbols/nequiv.rb
plurimath-0.8.4 lib/plurimath/math/symbols/nequiv.rb