Sha256: d4b377b9179d1427b7b7fc009b71dbf87f1df21de8cb3273f4f95f6a3d4998b1

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

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

        # output methods
        def to_latex
          "\\nvinfty"
        end

        def to_asciimath
          parsing_wrapper("nvinfty")
        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.12 lib/plurimath/math/symbols/nvinfty.rb
plurimath-0.8.11 lib/plurimath/math/symbols/nvinfty.rb