Sha256: 9863dd7bd565084575cddabbe344dd9f67dcee49500189ed9cc0da2657a14a66

Contents?: true

Size: 1017 Bytes

Versions: 2

Compression:

Stored size: 1017 Bytes

Contents

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

        # output methods
        def to_latex
          "\\blackcircledownarrow"
        end

        def to_asciimath
          parsing_wrapper("blackcircledownarrow", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x29ed;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/blackcircledownarrow.rb
plurimath-0.8.13 lib/plurimath/math/symbols/blackcircledownarrow.rb