Sha256: efbffee54f2457f63d2d4b20e769bdf64150eac98734b9392298c36e1a43a2d2

Contents?: true

Size: 987 Bytes

Versions: 9

Compression:

Stored size: 987 Bytes

Contents

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

        # output methods
        def to_latex(**)
          "\\nHdownarrow"
        end

        def to_asciimath(**)
          parsing_wrapper("nHdownarrow", lang: :asciimath)
        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

9 entries across 9 versions & 1 rubygems

Version Path
plurimath-0.8.23 lib/plurimath/math/symbols/nhdownarrow.rb
plurimath-0.8.22 lib/plurimath/math/symbols/nhdownarrow.rb
plurimath-0.8.21 lib/plurimath/math/symbols/nhdownarrow.rb
plurimath-0.8.20 lib/plurimath/math/symbols/nhdownarrow.rb
plurimath-0.8.19 lib/plurimath/math/symbols/nhdownarrow.rb
plurimath-0.8.18 lib/plurimath/math/symbols/nhdownarrow.rb
plurimath-0.8.17 lib/plurimath/math/symbols/nhdownarrow.rb
plurimath-0.8.16 lib/plurimath/math/symbols/nhdownarrow.rb
plurimath-0.8.15 lib/plurimath/math/symbols/nhdownarrow.rb