Sha256: 1f8bea1eeea922ed5f7140bf9b011d4c15e2585923a624ce05422191d11f09d0

Contents?: true

Size: 968 Bytes

Versions: 7

Compression:

Stored size: 968 Bytes

Contents

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

        # output methods
        def to_latex
          "\\downtriangleleftblack"
        end

        def to_asciimath
          parsing_wrapper("downtriangleleftblack")
        end

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

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

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

        def to_html
          "&#x29e8;"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/downtriangleleftblack.rb
plurimath-0.8.9 lib/plurimath/math/symbols/downtriangleleftblack.rb
plurimath-0.8.8 lib/plurimath/math/symbols/downtriangleleftblack.rb
plurimath-0.8.7 lib/plurimath/math/symbols/downtriangleleftblack.rb
plurimath-0.8.6 lib/plurimath/math/symbols/downtriangleleftblack.rb
plurimath-0.8.5 lib/plurimath/math/symbols/downtriangleleftblack.rb
plurimath-0.8.4 lib/plurimath/math/symbols/downtriangleleftblack.rb