Wrap text and set text width for LaTeX files