Sha256: 8e526b89b9ae24328eb2a899e6ea03bfe8417f9a25c020e569b678015dc197e4

Contents?: true

Size: 1006 Bytes

Versions: 14

Compression:

Stored size: 1006 Bytes

Contents

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

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

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

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

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

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

        def to_html(**)
          "&#x2268;"
        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/lneq.rb
plurimath-0.8.27 lib/plurimath/math/symbols/lneq.rb
plurimath-0.8.26 lib/plurimath/math/symbols/lneq.rb
plurimath-0.8.25 lib/plurimath/math/symbols/lneq.rb
plurimath-0.8.24 lib/plurimath/math/symbols/lneq.rb
plurimath-0.8.23 lib/plurimath/math/symbols/lneq.rb
plurimath-0.8.22 lib/plurimath/math/symbols/lneq.rb
plurimath-0.8.21 lib/plurimath/math/symbols/lneq.rb
plurimath-0.8.20 lib/plurimath/math/symbols/lneq.rb
plurimath-0.8.19 lib/plurimath/math/symbols/lneq.rb
plurimath-0.8.18 lib/plurimath/math/symbols/lneq.rb
plurimath-0.8.17 lib/plurimath/math/symbols/lneq.rb
plurimath-0.8.16 lib/plurimath/math/symbols/lneq.rb
plurimath-0.8.15 lib/plurimath/math/symbols/lneq.rb