Sha256: b3c962fc9d6787d927a7bfd1594f572d0912b9990172194b83cc04feacccc2de

Contents?: true

Size: 881 Bytes

Versions: 2

Compression:

Stored size: 881 Bytes

Contents

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

        # output methods
        def to_latex
          "\\eqqgtr"
        end

        def to_asciimath
          parsing_wrapper("eqqgtr")
        end

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

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

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

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