O'Reilly logo

LaTeX Beginners Guide by Stefan Kottwitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – stating division points for words

No matter how good the justification skill is, text in very narrow columns is extremely hard to justify. The previous example showed it pitiless. We will tell LaTeX how a word could be divided:

  1. Insert the following line into the preamble of the previous example:
    \hyphenation{acro-nym}
  2. Typeset and look at the output:
    Time for action – stating division points for words

What just happened?

We've told LaTeX that the word acronym may have a division point between acro and nym. That means a hyphen might be put after acro at the end of the line and nym goes to the following line.

The \hyphenation command tells LaTeX where the division points of a word may be. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required