code: def add_text(self, text, *args, **kwargs):
          
          # Pull down some kwargs.
          section_name = kwargs.pop('section', None)
  
          # Actually do the formatting.
          para, sp = self._preformat_text(text, *args, **kwargs)
  
          # Select the appropriate list to update
          if section_name is None:
              relevant_list = self.story
          else:
              relevant_list = self.sections[section_name]
  
          # Add the new content to list.
          relevant_list.append(para)
          relevant_list.append(sp)
          return
docs: Add text to the document.
  
          Text is shown on the final document in the order it is added, either
          within the given section or as part of the un-sectioned list of content.
  
          Parameters
          ----------
          text : str
              The text to be added.
          style : str
              Choose the style of the text. Options include 'Normal', 'Code',
              'Title', 'h1'. For others, see `getSampleStyleSheet` from
              `reportlab.lib.styles`.
          space : tuple (num spaces, font size)
              The number and size of spaces to follow this section of text.
              Default is (1, 12).
          fontsize : int
              The integer font size of the text (e.g. 12 for 12 point font).
              Default is 12.
          alignment : str
              The alignment of the text. Options include 'left', 'right', and
              'center'. Default is 'left'.
          section : str
              (This must be a keyword) Select a section in which to place this
              text. Default is None, in which case the text will be simply be
              added to a default list of text and images.