added template.tex