Sha256: 8f8216876bc56e994a76de593929c124988abd396aba1e8206ba9de1b1cf57bd

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

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 is_nary_symbol?
          true
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.13 lib/plurimath/math/symbols/bigwedge.rb