Use preexisting templates for tex files