Sha256: 4cae4b916b96d5d0612cce4e05b0a2e365a9e1809f2bca78a46dede4814917e2

Contents?: true

Size: 947 Bytes

Versions: 2

Compression:

Stored size: 947 Bytes

Contents

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

        # output methods
        def to_latex
          "\\circleurquadblack"
        end

        def to_asciimath
          parsing_wrapper("circleurquadblack")
        end

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

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

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

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