Sha256: 96ecde59656a062565949860f479c7f1eeee30a85c42ef2367e7f01c9b404547

Contents?: true

Size: 1021 Bytes

Versions: 2

Compression:

Stored size: 1021 Bytes

Contents

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

        # output methods
        def to_latex
          "\\downharpoonsleftright"
        end

        def to_asciimath
          parsing_wrapper("downdownharpoons")
        end

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

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

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

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