Sha256: b2608d1f0cf6a338291d09403f63c1a48c62e224d576695b0d2a343849a84521

Contents?: true

Size: 908 Bytes

Versions: 7

Compression:

Stored size: 908 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nHdownarrow"
        end

        def to_asciimath
          parsing_wrapper("nHdownarrow")
        end

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

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

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

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