Fix latex document