Sha256: ef98253e2fd7f2ae7fff83e5c9f1af6b9df1dc21545c3bb8ea6768ec9dd4bb1b

Contents?: true

Size: 959 Bytes

Versions: 2

Compression:

Stored size: 959 Bytes

Contents

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

        # output methods
        def to_latex
          "\\leftdowncurvedarrow"
        end

        def to_asciimath
          parsing_wrapper("leftdowncurvedarrow")
        end

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

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

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

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