lib/rtf/node.rb
def footnote(text)
         if !text.nil? and text != ''
            mark = CommandNode.new(self, '\fs16\up6\chftn', nil, false)
            note = CommandNode.new(self, '\footnote {\fs16\up6\chftn}', nil, false)
            note.paragraph << text
            self.store(mark)
            self.store(note)
         end
      end
def footnote(text)
         if !text.nil? and text != ''
            mark = CommandNode.new(self, '\fs16\up6\chftn', nil, false)
            note = CommandNode.new(self, '\footnote {\fs16\up6\chftn}', nil, false)
            note.paragraph << text
            self.store(mark)
            self.store(note)
         end
      end
def footnote ( text ) if ! text . nil? and text != '' mark = CommandNode . new ( self , '\fs16\up6\chftn' , nil , false ) note = CommandNode . new ( self , '\footnote {\fs16\up6\chftn}' , nil , false ) note . paragraph << text self . store ( mark ) self . store ( note ) end end
This method inserts a footnote at the current position in a node.

 ==== Parameters
 text::  A string containing the text for the footnote.
This method inserts a footnote at the current position in a node .