Sha256: 4daa9b9f7ee26607ea3b1b447915e0c41c0022acdc4be9e2dd14421a80b49648

Contents?: true

Size: 1023 Bytes

Versions: 9

Compression:

Stored size: 1023 Bytes

Contents

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

        # output methods
        def to_latex(**)
          "\\blackpointerright"
        end

        def to_asciimath(**)
          parsing_wrapper("blackpointerright", lang: :asciimath)
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x25ba;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x25ba;"
        end

        def to_html(**)
          "&#x25ba;"
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
plurimath-0.8.23 lib/plurimath/math/symbols/blackpointerright.rb
plurimath-0.8.22 lib/plurimath/math/symbols/blackpointerright.rb
plurimath-0.8.21 lib/plurimath/math/symbols/blackpointerright.rb
plurimath-0.8.20 lib/plurimath/math/symbols/blackpointerright.rb
plurimath-0.8.19 lib/plurimath/math/symbols/blackpointerright.rb
plurimath-0.8.18 lib/plurimath/math/symbols/blackpointerright.rb
plurimath-0.8.17 lib/plurimath/math/symbols/blackpointerright.rb
plurimath-0.8.16 lib/plurimath/math/symbols/blackpointerright.rb
plurimath-0.8.15 lib/plurimath/math/symbols/blackpointerright.rb