Sha256: 40ff6431cef24fa058f0c649f68596198d83622aa5a91b4c2047365478c0177e

Contents?: true

Size: 953 Bytes

Versions: 2

Compression:

Stored size: 953 Bytes

Contents

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

        # output methods
        def to_latex
          "\\circledwhitebullet"
        end

        def to_asciimath
          parsing_wrapper("circledwhitebullet")
        end

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

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

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

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