Sha256: f3e01969f623dd7d6bf6b87e99ac0795d8a68ae4445bdb358fd8f43987f847a4

Contents?: true

Size: 942 Bytes

Versions: 7

Compression:

Stored size: 942 Bytes

Contents

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

        # output methods
        def to_latex
          "\\NotLessTilde"
        end

        def to_asciimath
          parsing_wrapper("nlesssim")
        end

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

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

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

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