Sha256: 0d48939f6e132cbb8f5851d983127d5b62744e75adcfbb2c88f52bf6e9c98da4

Contents?: true

Size: 941 Bytes

Versions: 2

Compression:

Stored size: 941 Bytes

Contents

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

        # output methods
        def to_latex
          "\\acwunderarcarrow"
        end

        def to_asciimath
          parsing_wrapper("acwunderarcarrow")
        end

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

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

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

        def to_html
          "&#x293b;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.12 lib/plurimath/math/symbols/acwunderarcarrow.rb
plurimath-0.8.11 lib/plurimath/math/symbols/acwunderarcarrow.rb