Sha256: 5c199491ac13496a23dccaccfc8f994b4327c47923b210131b87c389c1c14605

Contents?: true

Size: 993 Bytes

Versions: 2

Compression:

Stored size: 993 Bytes

Contents

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

        # output methods
        def to_latex
          "\\cwgapcirclearrow"
        end

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

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

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

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

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