Sha256: 5a3e31212dbd768618422d0a0615b71d96f26075fa46738b79af0321d4f8db3b

Contents?: true

Size: 949 Bytes

Versions: 7

Compression:

Stored size: 949 Bytes

Contents

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

        # output methods
        def to_latex
          "\\NotGreaterTilde"
        end

        def to_asciimath
          parsing_wrapper("ngtrsim")
        end

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

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

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

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