Sha256: dc20465e0643836369e90b5dc2bbf8a1e7d2df8da68e56e46ce7c13b0c4751cc

Contents?: true

Size: 1.01 KB

Versions: 7

Compression:

Stored size: 1.01 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
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.9 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.8 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.7 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.6 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.5 lib/plurimath/math/symbols/cntclockoint.rb
plurimath-0.8.4 lib/plurimath/math/symbols/cntclockoint.rb