Sha256: e4bf661840b969d7420a88f2ec0db8aa6fef215220600a168360b59bc54f56dc

Contents?: true

Size: 847 Bytes

Versions: 7

Compression:

Stored size: 847 Bytes

Contents

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

        # output methods
        def to_latex
          "\\geqq"
        end

        def to_asciimath
          parsing_wrapper("geqq")
        end

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

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

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

        def to_html
          "&#x2267;"
        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/geqq.rb
plurimath-0.8.9 lib/plurimath/math/symbols/geqq.rb
plurimath-0.8.8 lib/plurimath/math/symbols/geqq.rb
plurimath-0.8.7 lib/plurimath/math/symbols/geqq.rb
plurimath-0.8.6 lib/plurimath/math/symbols/geqq.rb
plurimath-0.8.5 lib/plurimath/math/symbols/geqq.rb
plurimath-0.8.4 lib/plurimath/math/symbols/geqq.rb