Sha256: db9c5fc4e50aa21f53e4404da620632829e40c59ce2fd7040277ab057c158c16

Contents?: true

Size: 971 Bytes

Versions: 2

Compression:

Stored size: 971 Bytes

Contents

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

        # output methods
        def to_latex
          "\\circlebottomhalfblack"
        end

        def to_asciimath
          parsing_wrapper("circlebottomhalfblack")
        end

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

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

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

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