Sha256: b08394e34f61dec163b78933eee6de853c0164aa25d92d0d29105db78289e005

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

module Plurimath
  module Math
    module Symbols
      class Vvv < Symbol
        INPUT = {
          unicodemath: [["&#x22c1;", "bigvee"], parsing_wrapper(["vvv"])],
          asciimath: [["bigvee", "vvv", "&#x22c1;"]],
          mathml: ["&#x22c1;"],
          latex: [["bigvee", "&#x22c1;"], parsing_wrapper(["vvv"])],
          omml: ["&#x22c1;"],
          html: ["&#x22c1;"],
        }.freeze

        # output methods
        def to_latex
          "\\bigvee"
        end

        def to_asciimath
          "bigvee"
        end

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

        def to_mathml_without_math_tag(_)
          ox_element("mo") << "&#x22c1;"
        end

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

        def to_html
          "&#x22c1;"
        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/vvv.rb
plurimath-0.8.11 lib/plurimath/math/symbols/vvv.rb