Sha256: 60a2aff9991a1426afb009c1a614c7f4faff3568d7c3783bf6591451c743772e

Contents?: true

Size: 938 Bytes

Versions: 7

Compression:

Stored size: 938 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Dint < Symbol
        INPUT = {
          unicodemath: [["&#x22c2;"], parsing_wrapper(["bigcap", "nnn", "dint"])],
          asciimath: [["bigcap", "nnn", "&#x22c2;"], parsing_wrapper(["dint"])],
          mathml: ["&#x22c2;"],
          latex: [["bigcap", "dint", "&#x22c2;"], parsing_wrapper(["nnn"])],
          omml: ["&#x22c2;"],
          html: ["&#x22c2;"],
        }.freeze

        # output methods
        def to_latex
          "\\bigcap"
        end

        def to_asciimath
          parsing_wrapper("dint")
        end

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

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

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

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