Sha256: ee20a83a8c33ad40b68477d26c154f61904a81386b19972e01d6dd83e9510a34

Contents?: true

Size: 1023 Bytes

Versions: 2

Compression:

Stored size: 1023 Bytes

Contents

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

        # output methods
        def to_latex
          "\\blackdiamonddownarrow"
        end

        def to_asciimath
          parsing_wrapper("blackdiamonddownarrow", lang: :asciimath)
        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.14 lib/plurimath/math/symbols/blackdiamonddownarrow.rb
plurimath-0.8.13 lib/plurimath/math/symbols/blackdiamonddownarrow.rb