Fixed formatting problems from LaTeX