[Tex/LaTex] New line after reaching margins

editorsline-breakingmarginstexstudiowinedt

I wonder if there is a way to tell to WinEdt (or TexStudio) to start a new line when a word reaches the margins of a document.

The reason is that I don't like to have long expressions and I don't want to hit "enter" in order to start a new line manually each time a word reaches the margins of a page.

Thanks in advance

Best Answer

For TeXstudio:

You can control line wrapping at

Options -> Advanced Editor -> Special Options -> Line Wrapping

Note: The option "Hard Wrapping" uses Soft-Wrapping during the edit session. This makes editing easier. The soft wraps are converted to line breaks during the save operation.

If you want to explicitly apply hard wraps during an edit session, you can use Idefix -> Hard Line Break ... and Idefix -> Repeat Hard Line Break.

Related Question