Sha256: 3770848d5f62100e743803d18f5e52fbb1d61b408293495db7aeb79eadfb3c12

Contents?: true

Size: 889 Bytes

Versions: 7

Compression:

Stored size: 889 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nRightarrow"
        end

        def to_asciimath
          parsing_wrapper("nRightarrow")
        end

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

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

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

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