Sha256: 99d040770671430e96f0f55506fae6bccb485ae94f79efa4ce0f75040758c3d6

Contents?: true

Size: 898 Bytes

Versions: 2

Compression:

Stored size: 898 Bytes

Contents

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

        # output methods
        def to_latex
          "\\risingdotseq"
        end

        def to_asciimath
          parsing_wrapper("risingdotseq")
        end

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

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

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

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