Sha256: 6e77f3349a7b5c106baa17dbb86734470bc3ad6116d4b6cb8f0363f6d51be9a9

Contents?: true

Size: 1.02 KB

Versions: 10

Compression:

Stored size: 1.02 KB

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

10 entries across 10 versions & 1 rubygems

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