Sha256: 0cf69280dc12bd4763f29c9aca3f50dc6b055467908ce8c392861e037e5c4665

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

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

        # output methods
        def to_latex
          "\\bigodot"
        end

        def to_asciimath
          parsing_wrapper("bigodot")
        end

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

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

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

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