Sha256: 77efea688d2959126049717f6c6177e440a6512883f03c245b3625bb1f13aa6e

Contents?: true

Size: 939 Bytes

Versions: 2

Compression:

Stored size: 939 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Eqqless < Symbol
        INPUT = {
          unicodemath: [["&#x2a99;"], parsing_wrapper(["eqqless"], lang: :unicode)],
          asciimath: [["&#x2a99;"], parsing_wrapper(["eqqless"], lang: :asciimath)],
          mathml: ["&#x2a99;"],
          latex: [["eqqless", "&#x2a99;"]],
          omml: ["&#x2a99;"],
          html: ["&#x2a99;"],
        }.freeze

        # output methods
        def to_latex
          "\\eqqless"
        end

        def to_asciimath
          parsing_wrapper("eqqless", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x2a99;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/eqqless.rb
plurimath-0.8.13 lib/plurimath/math/symbols/eqqless.rb