Sha256: b6fd4c70d34cf00d2a6504416c55f7b8296a558d06e7232a3103f206fd2ad47f

Contents?: true

Size: 939 Bytes

Versions: 2

Compression:

Stored size: 939 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nvinfty"
        end

        def to_asciimath
          parsing_wrapper("nvinfty", lang: :asciimath)
        end

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

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

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

        def to_html
          "&#x29de;"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.8.14 lib/plurimath/math/symbols/nvinfty.rb
plurimath-0.8.13 lib/plurimath/math/symbols/nvinfty.rb