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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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