Sha256: c7f7336bf35efca7d381f9308a77c50c9647ed12c72f6b11771654548de25c78

Contents?: true

Size: 944 Bytes

Versions: 7

Compression:

Stored size: 944 Bytes

Contents

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

        # output methods
        def to_latex
          "\\cwundercurvearrow"
        end

        def to_asciimath
          parsing_wrapper("cwundercurvearrow")
        end

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

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

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

        def to_html
          "&#x293e;"
        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/cwundercurvearrow.rb
plurimath-0.8.9 lib/plurimath/math/symbols/cwundercurvearrow.rb
plurimath-0.8.8 lib/plurimath/math/symbols/cwundercurvearrow.rb
plurimath-0.8.7 lib/plurimath/math/symbols/cwundercurvearrow.rb
plurimath-0.8.6 lib/plurimath/math/symbols/cwundercurvearrow.rb
plurimath-0.8.5 lib/plurimath/math/symbols/cwundercurvearrow.rb
plurimath-0.8.4 lib/plurimath/math/symbols/cwundercurvearrow.rb