Sha256: 94fd303f2c60a4a37c67c5188942143d85609a008f3d651afd610b0fefdc5ab4

Contents?: true

Size: 957 Bytes

Versions: 2

Compression:

Stored size: 957 Bytes

Contents

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

        # output methods
        def to_latex
          "\\gtreqqless"
        end

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

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

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

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

        def to_html
          "&#x2a8c;"
        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/gtreqqless.rb
plurimath-0.8.13 lib/plurimath/math/symbols/gtreqqless.rb