Sha256: d131ae5d2af8e34966088a8018aa056f789e17153564961b27467b7bd89bb2a2

Contents?: true

Size: 1023 Bytes

Versions: 2

Compression:

Stored size: 1023 Bytes

Contents

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

        # output methods
        def to_latex
          "\\circlebottomhalfblack"
        end

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