Sha256: e5689056099aaea20863c1d7ed1a484378791a549c6ffdd95163a80a854a3f2d

Contents?: true

Size: 999 Bytes

Versions: 2

Compression:

Stored size: 999 Bytes

Contents

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

        # output methods
        def to_latex
          "\\circleurquadblack"
        end

        def to_asciimath
          parsing_wrapper("circleurquadblack", lang: :asciimath)
        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.14 lib/plurimath/math/symbols/circleurquadblack.rb
plurimath-0.8.13 lib/plurimath/math/symbols/circleurquadblack.rb