Sha256: a34783f28d1099f41549604e08babfe65e8c52652c7d5089a44a43f96aee3a6c

Contents?: true

Size: 914 Bytes

Versions: 7

Compression:

Stored size: 914 Bytes

Contents

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

        # output methods
        def to_latex
          "\\downfishtail"
        end

        def to_asciimath
          parsing_wrapper("downfishtail")
        end

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

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

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

        def to_html
          "&#x297f;"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
plurimath-0.8.10 lib/plurimath/math/symbols/downfishtail.rb
plurimath-0.8.9 lib/plurimath/math/symbols/downfishtail.rb
plurimath-0.8.8 lib/plurimath/math/symbols/downfishtail.rb
plurimath-0.8.7 lib/plurimath/math/symbols/downfishtail.rb
plurimath-0.8.6 lib/plurimath/math/symbols/downfishtail.rb
plurimath-0.8.5 lib/plurimath/math/symbols/downfishtail.rb
plurimath-0.8.4 lib/plurimath/math/symbols/downfishtail.rb