modify the tex file