Sha256: 4cb61da54ea298631dfd56cdc101395498b1f676619690b2935b5821f101f9dd

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

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

        # output methods
        def to_latex
          "\\gtreqqless"
        end

        def to_asciimath
          parsing_wrapper("gtreqqless")
        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.12 lib/plurimath/math/symbols/gtreqqless.rb
plurimath-0.8.11 lib/plurimath/math/symbols/gtreqqless.rb