Sha256: e14be908c53f6429169ab927603147b8179dc9c281c92af7a1de7067733f07fc

Contents?: true

Size: 1 KB

Versions: 14

Compression:

Stored size: 1 KB

Contents

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

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

        def to_asciimath(**)
          parsing_wrapper("ngtrless", lang: :asciimath)
        end

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

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

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

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

Version data entries

14 entries across 14 versions & 1 rubygems

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