Fixing LaTeX issues.