Sha256: a50cf045f6772bb6b3744380a67328e03476f78696fd107525a9e5a0eba6f97b

Contents?: true

Size: 963 Bytes

Versions: 10

Compression:

Stored size: 963 Bytes

Contents

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

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

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

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

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

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
plurimath-0.8.24 lib/plurimath/math/symbols/ddotseq.rb
plurimath-0.8.23 lib/plurimath/math/symbols/ddotseq.rb
plurimath-0.8.22 lib/plurimath/math/symbols/ddotseq.rb
plurimath-0.8.21 lib/plurimath/math/symbols/ddotseq.rb
plurimath-0.8.20 lib/plurimath/math/symbols/ddotseq.rb
plurimath-0.8.19 lib/plurimath/math/symbols/ddotseq.rb
plurimath-0.8.18 lib/plurimath/math/symbols/ddotseq.rb
plurimath-0.8.17 lib/plurimath/math/symbols/ddotseq.rb
plurimath-0.8.16 lib/plurimath/math/symbols/ddotseq.rb
plurimath-0.8.15 lib/plurimath/math/symbols/ddotseq.rb