master thesis tex stuff