Sha256: 01a5cb4827237a3a3866fd0431571a75cf23f47ff41938030221090cbdd8c6c0

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

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

        # output methods
        def to_latex
          "\\circledownarrow"
        end

        def to_asciimath
          parsing_wrapper("circledownarrow")
        end

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

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

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

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