Sha256: dcbb63afc68537596805dcb8029d8c4fc106a7fae64373d1211035ecf354ccc9

Contents?: true

Size: 904 Bytes

Versions: 2

Compression:

Stored size: 904 Bytes

Contents

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

        # output methods
        def to_latex
          "\\fallingdotseq"
        end

        def to_asciimath
          parsing_wrapper("fallingdotseq")
        end

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

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

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

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