Sha256: 95a783aa2cde3121f7a1e0d678495a515ba3ea1159c999cc9e3bddb3311f1ec3

Contents?: true

Size: 932 Bytes

Versions: 7

Compression:

Stored size: 932 Bytes

Contents

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

        # output methods
        def to_latex
          "\\llblacktriangle"
        end

        def to_asciimath
          parsing_wrapper("llblacktriangle")
        end

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

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

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

        def to_html
          "&#x25e3;"
        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/llblacktriangle.rb
plurimath-0.8.9 lib/plurimath/math/symbols/llblacktriangle.rb
plurimath-0.8.8 lib/plurimath/math/symbols/llblacktriangle.rb
plurimath-0.8.7 lib/plurimath/math/symbols/llblacktriangle.rb
plurimath-0.8.6 lib/plurimath/math/symbols/llblacktriangle.rb
plurimath-0.8.5 lib/plurimath/math/symbols/llblacktriangle.rb
plurimath-0.8.4 lib/plurimath/math/symbols/llblacktriangle.rb