fix spacing in tex file