Clean up display of LaTeX