Text files (.txt) have NO formatting, and there is nothing you can do about it. As phinds said, use Richtext (RTF).

It's a simple file format, to find out what you need to put into the file just create a document in Word that has the formatting you need, save it as Rich-text (.rtf), then open the file in notepad to see what you need to add to get the formating you want.