Sha256: 9d02e70d307b057359d2003dd01b1203838f158baa99d5556d66a4bb75e8397c

Contents?: true

Size: 964 Bytes

Versions: 16

Compression:

Stored size: 964 Bytes

Contents

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

        # output methods
        def to_latex(**)
          "\\leftwavearrow"
        end

        def to_asciimath(**)
          parsing_wrapper("leftwavearrow", lang: :asciimath)
        end

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

        def to_mathml_without_math_tag(_, **)
          ox_element("mi") << "&#x219c;"
        end

        def to_omml_without_math_tag(_, **)
          "&#x219c;"
        end

        def to_html(**)
          "&#x219c;"
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
plurimath-0.9.2 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.9.1 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.9.0 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.27 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.26 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.25 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.24 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.23 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.22 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.21 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.20 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.19 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.18 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.17 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.16 lib/plurimath/math/symbols/leftwavearrow.rb
plurimath-0.8.15 lib/plurimath/math/symbols/leftwavearrow.rb