Sha256: d3df937b885e98266d85b499b69cedcc0bdce6b1d0043a0c66b3a31a86cb2e20

Contents?: true

Size: 917 Bytes

Versions: 2

Compression:

Stored size: 917 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

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.12 lib/plurimath/math/symbols/downfishtail.rb
plurimath-0.8.11 lib/plurimath/math/symbols/downfishtail.rb