cleaned up unused TeX code from template