Sha256: 43e054dbfb9ba2d1d280c95ccdc578b8e7d6a0bbcf3ebd5c62e38dc095b79921

Contents?: true

Size: 910 Bytes

Versions: 2

Compression:

Stored size: 910 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rightwavearrow"
        end

        def to_asciimath
          parsing_wrapper("rightwavearrow")
        end

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

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

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

        def to_html
          "&#x219d;"
        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/rightwavearrow.rb
plurimath-0.8.11 lib/plurimath/math/symbols/rightwavearrow.rb