code: def _format_background(background):
      
      # Getting the background
      if os.path.isfile(background):
          with open(background, "r") as i_file:
              background = i_file.read().splitlines()
      else:
          background = background.splitlines()
  
      # Formatting
      final_background = ""
      for line in background:
          if line == "":
              final_background += r"\\" + "\n\n"
              continue
  
          final_background += latex.wrap_lines(latex.sanitize_tex(line))
  
      return final_background
docs: Formats the background section
  
      :param background: the background content or file.
  
      :type background: str or file
  
      :returns: the background content.
      :rtype: str