Sha256: a153ee9eae570a2294ed6005e2bba789571fbed0cfc960dbd28a3833bf8860ec

Contents?: true

Size: 911 Bytes

Versions: 2

Compression:

Stored size: 911 Bytes

Contents

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

        # output methods
        def to_latex
          "\\neovsearrow"
        end

        def to_asciimath
          parsing_wrapper("neovsearrow")
        end

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

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

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

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