Sha256: e7fb60e98dfcbc544555f19ce1676abfb8657a038a42e84601a4544a1fd2a283

Contents?: true

Size: 941 Bytes

Versions: 2

Compression:

Stored size: 941 Bytes

Contents

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

        # output methods
        def to_latex
          "\\whitepointerleft"
        end

        def to_asciimath
          parsing_wrapper("whitepointerleft")
        end

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

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

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

        def to_html
          "&#x25c5;"
        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/whitepointerleft.rb
plurimath-0.8.11 lib/plurimath/math/symbols/whitepointerleft.rb