Sha256: cd0e5c8d379279b6beea90a615586452ed7bcf700525865417a2fc6fb470b8ab

Contents?: true

Size: 959 Bytes

Versions: 2

Compression:

Stored size: 959 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rightleftharpoonsup"
        end

        def to_asciimath
          parsing_wrapper("rightleftharpoonsup")
        end

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

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

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

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