adjust Word and Tex template to match styles