Update template.tex

Changes as discussed with Andreas