Sha256: 45dba8eb57a28e8da5573cd4d387f33b4a6b0253f6a11857aa395d0a4ac8d64c

Contents?: true

Size: 951 Bytes

Versions: 2

Compression:

Stored size: 951 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Nunrhd < Symbol
        INPUT = {
          unicodemath: [["ntrianglerighteq", "&#x22ed;"], parsing_wrapper(["nunrhd"])],
          asciimath: [["&#x22ed;"], parsing_wrapper(["ntrianglerighteq", "nunrhd"])],
          mathml: ["&#x22ed;"],
          latex: [["ntrianglerighteq", "nunrhd", "&#x22ed;"]],
          omml: ["&#x22ed;"],
          html: ["&#x22ed;"],
        }.freeze

        # output methods
        def to_latex
          "\\ntrianglerighteq"
        end

        def to_asciimath
          parsing_wrapper("nunrhd")
        end

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

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

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

        def to_html
          "&#x22ed;"
        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/nunrhd.rb
plurimath-0.8.11 lib/plurimath/math/symbols/nunrhd.rb