Sha256: 25b17cf453f979cf8b54d1651289e0909f08929738cfaeb7857d7b37f99d4913

Contents?: true

Size: 881 Bytes

Versions: 2

Compression:

Stored size: 881 Bytes

Contents

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

        # output methods
        def to_latex
          "\\iinfin"
        end

        def to_asciimath
          parsing_wrapper("iinfin")
        end

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

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

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

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