Sha256: 41c3b67f4e0a9c6397743e7db547fb0d88e039c6923d821b91610479e8a521e2

Contents?: true

Size: 968 Bytes

Versions: 7

Compression:

Stored size: 968 Bytes

Contents

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

        # output methods
        def to_latex
          "\\leftrightharpoonsdown"
        end

        def to_asciimath
          parsing_wrapper("leftrightharpoonsdown")
        end

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

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

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

        def to_html
          "&#x2967;"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/leftrightharpoonsdown.rb
plurimath-0.8.9 lib/plurimath/math/symbols/leftrightharpoonsdown.rb
plurimath-0.8.8 lib/plurimath/math/symbols/leftrightharpoonsdown.rb
plurimath-0.8.7 lib/plurimath/math/symbols/leftrightharpoonsdown.rb
plurimath-0.8.6 lib/plurimath/math/symbols/leftrightharpoonsdown.rb
plurimath-0.8.5 lib/plurimath/math/symbols/leftrightharpoonsdown.rb
plurimath-0.8.4 lib/plurimath/math/symbols/leftrightharpoonsdown.rb