Sha256: c185566d79c486ba790379848da1ce69040c19c3b04c10a45f9d23364163587c

Contents?: true

Size: 977 Bytes

Versions: 2

Compression:

Stored size: 977 Bytes

Contents

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

        # output methods
        def to_latex
          "\\blackcircleulquadwhite"
        end

        def to_asciimath
          parsing_wrapper("blackcircleulquadwhite")
        end

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

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

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

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