Sha256: 45a36b8c9e067f979e3ed15e66c731fbf073f23bfff059b7ab9f48068535c19e

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

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

        # output methods
        def to_latex
          "\\simneqq"
        end

        def to_asciimath
          parsing_wrapper("simneqq")
        end

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

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

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

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