change template.tex