Sha256: 75a7a699629c2592f1649a81b26c73f21c3af990f57d0231229daec145336a2b

Contents?: true

Size: 1.13 KB

Versions: 9

Compression:

Stored size: 1.13 KB

Contents

module Plurimath
  module Math
    module Symbols
      class Downupharpoons < Symbol
        INPUT = {
          unicodemath: [["&#x296f;"], parsing_wrapper(["downupharpoonsleftright", "uprevequilibrium", "downupharpoons"], lang: :unicode)],
          asciimath: [["&#x296f;"], parsing_wrapper(["downupharpoonsleftright", "uprevequilibrium", "downupharpoons"], lang: :asciimath)],
          mathml: ["&#x296f;"],
          latex: [["downupharpoonsleftright", "uprevequilibrium", "downupharpoons", "&#x296f;"]],
          omml: ["&#x296f;"],
          html: ["&#x296f;"],
        }.freeze

        # output methods
        def to_latex(**)
          "\\downupharpoonsleftright"
        end

        def to_asciimath(**)
          parsing_wrapper("downupharpoons", lang: :asciimath)
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x296f;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x296f;"
        end

        def to_html(**)
          "&#x296f;"
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
plurimath-0.8.23 lib/plurimath/math/symbols/downupharpoons.rb
plurimath-0.8.22 lib/plurimath/math/symbols/downupharpoons.rb
plurimath-0.8.21 lib/plurimath/math/symbols/downupharpoons.rb
plurimath-0.8.20 lib/plurimath/math/symbols/downupharpoons.rb
plurimath-0.8.19 lib/plurimath/math/symbols/downupharpoons.rb
plurimath-0.8.18 lib/plurimath/math/symbols/downupharpoons.rb
plurimath-0.8.17 lib/plurimath/math/symbols/downupharpoons.rb
plurimath-0.8.16 lib/plurimath/math/symbols/downupharpoons.rb
plurimath-0.8.15 lib/plurimath/math/symbols/downupharpoons.rb