LaTeX line break - How to prevent line breaks in LaTeX documents

LaTeX line breaks FAQ: How can I prevent line breaks from occurring in my LaTeX documents?

Solution

A nice thing about LaTeX is that you can prevent line breaks between words that should not be broken, things like people's names. To prevent a line break from occurring, use the tilde character (~) instead of a space, like this:

Mr.~John~Doe

This keeps "Mr. John Doe" on the same line when your document is created.