Sha256: d6f4788414f30930b794e5e2575eb9a25f4f9b8f6e46afa4ad640104fdb837ad

Contents?: true

Size: 933 Bytes

Versions: 2

Compression:

Stored size: 933 Bytes

Contents

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

        # output methods
        def to_latex
          "\\eqqgtr"
        end

        def to_asciimath
          parsing_wrapper("eqqgtr", lang: :asciimath)
        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.14 lib/plurimath/math/symbols/eqqgtr.rb
plurimath-0.8.13 lib/plurimath/math/symbols/eqqgtr.rb