Sha256: 743f87f4da3344b2fc926fb4a41bc313ecb0a377ceaffa90b60b5e1ef0fb9aaf

Contents?: true

Size: 1.04 KB

Versions: 12

Compression:

Stored size: 1.04 KB

Contents

module Plurimath
  module Math
    module Symbols
      class Bigwedge < Symbol
        INPUT = {
          unicodemath: [["&#x22c0;"], parsing_wrapper(["bigwedge", "^^^"], lang: :unicode)],
          asciimath: [["bigwedge", "^^^", "&#x22c0;"]],
          mathml: ["&#x22c0;"],
          latex: [["bigwedge", "&#x22c0;"], parsing_wrapper(["^^^"], lang: :latex)],
          omml: ["&#x22c0;"],
          html: ["&#x22c0;"],
        }.freeze

        # output methods
        def to_latex(**)
          "\\bigwedge"
        end

        def to_asciimath(**)
          "bigwedge"
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x22c0;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x22c0;"
        end

        def to_html(**)
          "&#x22c0;"
        end

        def nary_intent_name
          ":n-ary"
        end

        def is_nary_symbol?
          true
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
plurimath-0.9.0 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.27 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.26 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.25 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.24 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.23 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.22 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.21 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.20 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.19 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.18 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.17 lib/plurimath/math/symbols/bigwedge.rb