Sha256: e45919100d2f6dabaadeb75afe9fcf7e40d5137b3dd1155da1a32ac907fa1e48

Contents?: true

Size: 1005 Bytes

Versions: 2

Compression:

Stored size: 1005 Bytes

Contents

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

        # output methods
        def to_latex
          "\\ccwundercurvearrow"
        end

        def to_asciimath
          parsing_wrapper("ccwundercurvearrow", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x293f;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/ccwundercurvearrow.rb
plurimath-0.8.13 lib/plurimath/math/symbols/ccwundercurvearrow.rb