def new_text_cell(text=None):
cell = NotebookNode()<EOL>if text is not None:<EOL><INDENT>cell.text = unicode(text)<EOL><DEDENT>cell.cell_type = u'<STR_LIT:text>'<EOL>return cell<EOL>
Create a new text cell.