Sha256: 90f791b3ecda40d797ebf916cb37c3a05b30a8f283ec0bef6d81e5dc2f4227ca

Contents?: true

Size: 890 Bytes

Versions: 7

Compression:

Stored size: 890 Bytes

Contents

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

        # output methods
        def to_latex
          "\\bigsqcup"
        end

        def to_asciimath
          parsing_wrapper("bigsqcup")
        end

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

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

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

        def to_html
          "&#x2a06;"
        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/bigsqcup.rb
plurimath-0.8.9 lib/plurimath/math/symbols/bigsqcup.rb
plurimath-0.8.8 lib/plurimath/math/symbols/bigsqcup.rb
plurimath-0.8.7 lib/plurimath/math/symbols/bigsqcup.rb
plurimath-0.8.6 lib/plurimath/math/symbols/bigsqcup.rb
plurimath-0.8.5 lib/plurimath/math/symbols/bigsqcup.rb
plurimath-0.8.4 lib/plurimath/math/symbols/bigsqcup.rb