Sha256: ebc68d8f180b7798e903a688ef75be559045de65c06127f4636f76085ca0291a

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

module Plurimath
  module Math
    module Symbols
      class Bigwedge < Symbol
        INPUT = {
          unicodemath: [["&#x22c0;", "bigwedge"], parsing_wrapper(["^^^"])],
          asciimath: [["bigwedge", "^^^", "&#x22c0;"]],
          mathml: ["&#x22c0;"],
          latex: [["bigwedge", "&#x22c0;"], parsing_wrapper(["^^^"])],
          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

        def nary_intent_name
          "n-ary"
        end

        def tag_name
          "underover"
        end

        def omml_tag_name
          "undOvr"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.12 lib/plurimath/math/symbols/bigwedge.rb
plurimath-0.8.11 lib/plurimath/math/symbols/bigwedge.rb