Sha256: e69a5cf0d0a785c929602e391514c87e94217bba6dc3743a88a7720164c2cfaa

Contents?: true

Size: 950 Bytes

Versions: 7

Compression:

Stored size: 950 Bytes

Contents

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

        # output methods
        def to_latex
          "\\bigblacktriangleup"
        end

        def to_asciimath
          parsing_wrapper("bigblacktriangleup")
        end

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

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

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

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