Sha256: 19de0f4b7f05d32287c40f4c8345bd33ba555d0aaa5d497ff7b3e1acd04eff06

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

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

        # output methods
        def to_latex
          "\\tieinfty"
        end

        def to_asciimath
          parsing_wrapper("tieinfty")
        end

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

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

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

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