Sha256: 2e2b74d4f466ca93138a098357f49e963917e3c870639e627b4f804941fc88e0

Contents?: true

Size: 999 Bytes

Versions: 2

Compression:

Stored size: 999 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Errbarblackcircle < Symbol
        INPUT = {
          unicodemath: [["&#x29f3;"], parsing_wrapper(["errbarblackcircle"], lang: :unicode)],
          asciimath: [["&#x29f3;"], parsing_wrapper(["errbarblackcircle"], lang: :asciimath)],
          mathml: ["&#x29f3;"],
          latex: [["errbarblackcircle", "&#x29f3;"]],
          omml: ["&#x29f3;"],
          html: ["&#x29f3;"],
        }.freeze

        # output methods
        def to_latex
          "\\errbarblackcircle"
        end

        def to_asciimath
          parsing_wrapper("errbarblackcircle", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x29f3;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/errbarblackcircle.rb
plurimath-0.8.13 lib/plurimath/math/symbols/errbarblackcircle.rb