Sha256: c92a100c9e64195b6ebb10c3ac5f126025b297e1167ab77dd0623fcd4f37c63f

Contents?: true

Size: 1.02 KB

Versions: 12

Compression:

Stored size: 1.02 KB

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

12 entries across 12 versions & 1 rubygems

Version Path
plurimath-0.8.26 lib/plurimath/math/symbols/circlebottomhalfblack.rb
plurimath-0.8.25 lib/plurimath/math/symbols/circlebottomhalfblack.rb
plurimath-0.8.24 lib/plurimath/math/symbols/circlebottomhalfblack.rb
plurimath-0.8.23 lib/plurimath/math/symbols/circlebottomhalfblack.rb
plurimath-0.8.22 lib/plurimath/math/symbols/circlebottomhalfblack.rb
plurimath-0.8.21 lib/plurimath/math/symbols/circlebottomhalfblack.rb
plurimath-0.8.20 lib/plurimath/math/symbols/circlebottomhalfblack.rb
plurimath-0.8.19 lib/plurimath/math/symbols/circlebottomhalfblack.rb
plurimath-0.8.18 lib/plurimath/math/symbols/circlebottomhalfblack.rb
plurimath-0.8.17 lib/plurimath/math/symbols/circlebottomhalfblack.rb
plurimath-0.8.16 lib/plurimath/math/symbols/circlebottomhalfblack.rb
plurimath-0.8.15 lib/plurimath/math/symbols/circlebottomhalfblack.rb