Sha256: b47681faf303dd20fac2139860a0288501370d29fdb386f59f3479de03f862ea

Contents?: true

Size: 959 Bytes

Versions: 2

Compression:

Stored size: 959 Bytes

Contents

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

        # output methods
        def to_latex
          "\\whitesquaretickleft"
        end

        def to_asciimath
          parsing_wrapper("whitesquaretickleft")
        end

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

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

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

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