Sha256: 1691ca444dd9d69c6cb006a24d6eff6a0e4f46602c51b11baeb03ca2fd466d60

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

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

        # output methods
        def to_latex
          "\\leftrightharpoondowndown"
        end

        def to_asciimath
          parsing_wrapper("leftrightharpoondown")
        end

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

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

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

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