Sha256: 885be91f93dd917cdb125b1ed83aa27b63135f39e6cd5c3eddb55c68a51e1944

Contents?: true

Size: 1.24 KB

Versions: 12

Compression:

Stored size: 1.24 KB

Contents

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

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

        def to_asciimath(**)
          parsing_wrapper("clockoint", lang: :asciimath)
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x2232;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x2232;"
        end

        def to_html(**)
          "&#x2232;"
        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

12 entries across 12 versions & 1 rubygems

Version Path
plurimath-0.9.0 lib/plurimath/math/symbols/clockoint.rb
plurimath-0.8.27 lib/plurimath/math/symbols/clockoint.rb
plurimath-0.8.26 lib/plurimath/math/symbols/clockoint.rb
plurimath-0.8.25 lib/plurimath/math/symbols/clockoint.rb
plurimath-0.8.24 lib/plurimath/math/symbols/clockoint.rb
plurimath-0.8.23 lib/plurimath/math/symbols/clockoint.rb
plurimath-0.8.22 lib/plurimath/math/symbols/clockoint.rb
plurimath-0.8.21 lib/plurimath/math/symbols/clockoint.rb
plurimath-0.8.20 lib/plurimath/math/symbols/clockoint.rb
plurimath-0.8.19 lib/plurimath/math/symbols/clockoint.rb
plurimath-0.8.18 lib/plurimath/math/symbols/clockoint.rb
plurimath-0.8.17 lib/plurimath/math/symbols/clockoint.rb