Properly wrap lines of .tex files