Sha256: 0c52bbc3d2b5a54f60c53b3dfbf927b697dac7e866d14dc98d16c6e0b567529d

Contents?: true

Size: 965 Bytes

Versions: 2

Compression:

Stored size: 965 Bytes

Contents

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

        # output methods
        def to_latex
          "\\rightdowncurvedarrow"
        end

        def to_asciimath
          parsing_wrapper("rightdowncurvedarrow")
        end

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

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

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

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