Sha256: d6638b5cd1c305fc66e5c0af764e92b2f1c02cdf97dc32ec51147900355cdef2

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

module Plurimath
  module Math
    module Symbols
      class Cntclockoint < Symbol
        INPUT = {
          unicodemath: [["&#x2233;"], parsing_wrapper(["ointctrclockwise", "cntclockoint"])],
          asciimath: [["&#x2233;"], parsing_wrapper(["ointctrclockwise", "cntclockoint"])],
          mathml: ["&#x2233;"],
          latex: [["ointctrclockwise", "cntclockoint", "&#x2233;"]],
          omml: ["&#x2233;"],
          html: ["&#x2233;"],
        }.freeze

        # output methods
        def to_latex
          "\\ointctrclockwise"
        end

        def to_asciimath
          parsing_wrapper("cntclockoint")
        end

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

        def to_mathml_without_math_tag(_)
          ox_element("mi") << "&#x2233;"
        end

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

        def to_html
          "&#x2233;"
        end

        def is_nary_symbol?
          true
        end

        def nary_intent_name
          "anticlockwise contour integral"
        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/cntclockoint.rb
plurimath-0.8.11 lib/plurimath/math/symbols/cntclockoint.rb