Sha256: 8a35dd5942a2cf3e23131b4076bd0598f35a9e9d6b2c7945de2952893dedd215

Contents?: true

Size: 1023 Bytes

Versions: 2

Compression:

Stored size: 1023 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rightharpoonsupdown"
        end

        def to_asciimath
          parsing_wrapper("rightrightharpoons")
        end

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

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

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

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