Sha256: 78d1f237a9efc515da4082e8ae4d937a80cf97c519b0609d114c36d3a4f0c8b1

Contents?: true

Size: 947 Bytes

Versions: 2

Compression:

Stored size: 947 Bytes

Contents

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

        # output methods
        def to_latex
          "\\whitepointerright"
        end

        def to_asciimath
          parsing_wrapper("whitepointerright")
        end

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

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

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

        def to_html
          "&#x25bb;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.12 lib/plurimath/math/symbols/whitepointerright.rb
plurimath-0.8.11 lib/plurimath/math/symbols/whitepointerright.rb