Sha256: 1f331fcb1b83da104a35bc6c93fa39173b7994b4caa0800a36bf5b511516952c

Contents?: true

Size: 971 Bytes

Versions: 2

Compression:

Stored size: 971 Bytes

Contents

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

        # output methods
        def to_latex
          "\\blackdiamonddownarrow"
        end

        def to_asciimath
          parsing_wrapper("blackdiamonddownarrow")
        end

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

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

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

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