template & tex file