Sha256: f47df213708cb0b82010984d23dab7520883eb1d5cfeb480094a7c730fe6dec6

Contents?: true

Size: 950 Bytes

Versions: 7

Compression:

Stored size: 950 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

7 entries across 7 versions & 1 rubygems

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