Sha256: 5a64370624aaaecc26540c03cf6f3edc7be9b1607034f3f0b91370b45ef8994f

Contents?: true

Size: 953 Bytes

Versions: 2

Compression:

Stored size: 953 Bytes

Contents

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

        # output methods
        def to_latex
          "\\inversewhitecircle"
        end

        def to_asciimath
          parsing_wrapper("inversewhitecircle")
        end

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

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

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

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