changing latex tamplates and background images to support a new document generation