Breaking lines and paragraphs

Generally, when you're writing text, you don't need to care about the line wrapping. Just type the text with your editor; LaTeX will make it fit to the line and take care of the justification. If you want to begin a new paragraph, in consequence of getting a line break in the output, just insert an empty line before you continue with your text.

Now we will find out how to control the line wrapping. First we will see how to improve the automatic line breaking. Then we will learn commands to insert breaks directly.

Improving hyphenation

If you look at longer texts, you will notice that it's outstanding how the text is fully justified by LaTeX and how the spacing between words is evenly distributed on the lines. If necessary, ...

Get LaTeX Beginners Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.