Sha256: e651362f96434a2f573dba780abf9ab8d018bedbb6055e6807259426de3a82db

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

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

        # output methods
        def to_latex
          "\\biguplus"
        end

        def to_asciimath
          parsing_wrapper("biguplus")
        end

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

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

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

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