Sha256: 760983517640ab2fb1c6c5c6a1c4b92b0d0dd8f7b07d1c905597496c0f9f81e0

Contents?: true

Size: 1.28 KB

Versions: 8

Compression:

Stored size: 1.28 KB

Contents

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

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

        def to_asciimath(**)
          parsing_wrapper("cntclockoint", lang: :asciimath)
        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

8 entries across 8 versions & 1 rubygems

Version Path
plurimath-0.8.24 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.23 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.22 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.21 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.20 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.19 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.18 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.17 lib/plurimath/math/symbols/cntclockoint.rb