Sha256: 079cb4faaa9d761842e6635a4495a2707ca7bbca3d792fa1a7281b9ea940fe03

Contents?: true

Size: 922 Bytes

Versions: 7

Compression:

Stored size: 922 Bytes

Contents

module Plurimath
  module Math
    module Symbols
      class Nnn < 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
          "bigcap"
        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/nnn.rb
plurimath-0.8.9 lib/plurimath/math/symbols/nnn.rb
plurimath-0.8.8 lib/plurimath/math/symbols/nnn.rb
plurimath-0.8.7 lib/plurimath/math/symbols/nnn.rb
plurimath-0.8.6 lib/plurimath/math/symbols/nnn.rb
plurimath-0.8.5 lib/plurimath/math/symbols/nnn.rb
plurimath-0.8.4 lib/plurimath/math/symbols/nnn.rb