Sha256: 856ccbe0ff1d3952b7fd1a2df3ee1f9f53c426e8f5044342dec5d2c7138fda8f

Contents?: true

Size: 945 Bytes

Versions: 2

Compression:

Stored size: 945 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

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.12 lib/plurimath/math/symbols/nlesssim.rb
plurimath-0.8.11 lib/plurimath/math/symbols/nlesssim.rb