Sha256: 82c1520c21c4c1f76505589eaf0bbb746f578efc7d608a2f032830c84c69cb87

Contents?: true

Size: 1.03 KB

Versions: 7

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

7 entries across 7 versions & 1 rubygems

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