set up tex template