set up the new tex file