Text Formattingdisable word break?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
huuep
Posts: 5
Joined: Wed Aug 05, 2009 2:30 pm

disable word break?

Post by huuep »

How can i disable word breaks in the whole document? (ie, i don't want any of my words broken and hyphenated across 2 lines)
thanks!
danny

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: disable word break?

Post by josephwright »

Joseph Wright
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

disable word break?

Post by localghost »

You could use the hyphenat package.

Code: Select all

\usepackage[none]{hyphenat}
Pay attention to the remarks in Section 2 of the manual.


Best regards
Thorsten
huuep
Posts: 5
Joined: Wed Aug 05, 2009 2:30 pm

Re: disable word break?

Post by huuep »

thanks!

this worked great:

\hyphenpenalty 10000
\exhyphenpenalty 10000
Post Reply