Sha256: f252c42dab3eaec388d753ca5d6f0f5079e34790851d96661fea6aa6d096aebb

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

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

        # output methods
        def to_latex
          "\\Uuparrow"
        end

        def to_asciimath
          parsing_wrapper("Uuparrow")
        end

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

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

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

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