Sha256: d21ac67f276942c5d67a2384545ef1efc5b6b64fc6431e5f2724d09385a5e3ab

Contents?: true

Size: 981 Bytes

Versions: 2

Compression:

Stored size: 981 Bytes

Contents

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

        # output methods
        def to_latex
          "\\acwcirclearrow"
        end

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

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

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

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

        def to_html
          "&#x2940;"
        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/acwcirclearrow.rb
plurimath-0.8.13 lib/plurimath/math/symbols/acwcirclearrow.rb