Sha256: a10af8e2d405646d147e09f8323d0843927c52c98ec7f5ddff16ea265dca5818

Contents?: true

Size: 950 Bytes

Versions: 7

Compression:

Stored size: 950 Bytes

Contents

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

        # output methods
        def to_latex
          "\\circletophalfblack"
        end

        def to_asciimath
          parsing_wrapper("circletophalfblack")
        end

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

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

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

        def to_html
          "&#x25d3;"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/circletophalfblack.rb
plurimath-0.8.9 lib/plurimath/math/symbols/circletophalfblack.rb
plurimath-0.8.8 lib/plurimath/math/symbols/circletophalfblack.rb
plurimath-0.8.7 lib/plurimath/math/symbols/circletophalfblack.rb
plurimath-0.8.6 lib/plurimath/math/symbols/circletophalfblack.rb
plurimath-0.8.5 lib/plurimath/math/symbols/circletophalfblack.rb
plurimath-0.8.4 lib/plurimath/math/symbols/circletophalfblack.rb