Sha256: b64db6ebbc07d230ade91babb04a7e25283647985cb9629cfe32cedd62e13916

Contents?: true

Size: 965 Bytes

Versions: 2

Compression:

Stored size: 965 Bytes

Contents

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

        # output methods
        def to_latex
          "\\whitesquaretickright"
        end

        def to_asciimath
          parsing_wrapper("whitesquaretickright")
        end

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

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

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

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