Remove trailing spaces in im.tex