Sha256: 9bb59fc884512940eab406ace002c201f829e39fd12309ab0f162f9af1cbbf61

Contents?: true

Size: 909 Bytes

Versions: 11

Compression:

Stored size: 909 Bytes

Contents

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

        # output methods
        def to_latex(**)
          "\\gg"
        end

        def to_asciimath(**)
          "gg"
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x226b;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x226b;"
        end

        def to_html(**)
          "&#x226b;"
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
plurimath-0.9.0 lib/plurimath/math/symbols/gg.rb
plurimath-0.8.27 lib/plurimath/math/symbols/gg.rb
plurimath-0.8.26 lib/plurimath/math/symbols/gg.rb
plurimath-0.8.25 lib/plurimath/math/symbols/gg.rb
plurimath-0.8.24 lib/plurimath/math/symbols/gg.rb
plurimath-0.8.23 lib/plurimath/math/symbols/gg.rb
plurimath-0.8.22 lib/plurimath/math/symbols/gg.rb
plurimath-0.8.21 lib/plurimath/math/symbols/gg.rb
plurimath-0.8.20 lib/plurimath/math/symbols/gg.rb
plurimath-0.8.19 lib/plurimath/math/symbols/gg.rb
plurimath-0.8.18 lib/plurimath/math/symbols/gg.rb