generalized TeX template

I have generalized the TeX template by removing overly specific packages.