Sha256: bde8618aa27a90d9da5a27f7fa2c6cdb97f3a76f70ad3b4956414ab0b36923c0

Contents?: true

Size: 877 Bytes

Versions: 7

Compression:

Stored size: 877 Bytes

Contents

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

        # output methods
        def to_latex
          "\\gtreqless"
        end

        def to_asciimath
          parsing_wrapper("gtreqless")
        end

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

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

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

        def to_html
          "&#x22db;"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/gtreqless.rb
plurimath-0.8.9 lib/plurimath/math/symbols/gtreqless.rb
plurimath-0.8.8 lib/plurimath/math/symbols/gtreqless.rb
plurimath-0.8.7 lib/plurimath/math/symbols/gtreqless.rb
plurimath-0.8.6 lib/plurimath/math/symbols/gtreqless.rb
plurimath-0.8.5 lib/plurimath/math/symbols/gtreqless.rb
plurimath-0.8.4 lib/plurimath/math/symbols/gtreqless.rb