Sha256: ba1b7680d235718a5ad3dc42f83f3737b3b1e586036773127621670020646f1a

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

module Plurimath
  module Math
    module Symbols
      class Downupharpoons < Symbol
        INPUT = {
          unicodemath: [["&#x296f;"], parsing_wrapper(["downupharpoonsleftright", "uprevequilibrium", "downupharpoons"])],
          asciimath: [["&#x296f;"], parsing_wrapper(["downupharpoonsleftright", "uprevequilibrium", "downupharpoons"])],
          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")
        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

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.12 lib/plurimath/math/symbols/downupharpoons.rb
plurimath-0.8.11 lib/plurimath/math/symbols/downupharpoons.rb