Sha256: 9bd13a510a56d38da393c3b0ac0f1e7ba403d57d5c87fa9535c10fe3080cf220

Contents?: true

Size: 948 Bytes

Versions: 7

Compression:

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

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/nunrhd.rb
plurimath-0.8.9 lib/plurimath/math/symbols/nunrhd.rb
plurimath-0.8.8 lib/plurimath/math/symbols/nunrhd.rb
plurimath-0.8.7 lib/plurimath/math/symbols/nunrhd.rb
plurimath-0.8.6 lib/plurimath/math/symbols/nunrhd.rb
plurimath-0.8.5 lib/plurimath/math/symbols/nunrhd.rb
plurimath-0.8.4 lib/plurimath/math/symbols/nunrhd.rb