\
hyphenpenalty
and
\
exhyphenpenalty
to an ‘infinite’ value (that is to say, 10000).
This means that all hyphenations will sufficiently penalise the line
that would contain them, that the hyphenation won’t happen. The
disadvantage of this method is that TeX will re-evaluate any
paragraph for which hyphenations might help, which will slow TeX
down.
Second, one can select a language for which no hyphenation patterns
exist. Some distributions create a language nohyphenation
,
and the hyphenat package uses this technique for its
\
nohyphens
command which sets its argument without any
hyphenation. You can load hyphenat with the command
\
usepckage[none]{hyphenat}
to prevent any hyphenation in a single-language document. The technique cannot work in a document in which babel controls language selection, since babel incorporates hyphenation change into its language change facilities.
Third, one can set\
left-
and/or \
righthyphenmin
to a
sufficiently large value that no hyphenation could possibly succeed,
since the minimum is larger than the length of the longest word
TeX is willing to hyphenate (the appropriate value is 62).
Fourth, one can suppress hyphenation for all text using the current
font by the command
\hyphenchar\font=-1
This isn’t a particularly practical way for users to suppress
hyphenation — the command has to be issued for every font the
document uses — but it’s how LaTeX itself suppresses hyphenation
in tt
and other fixed-width fonts.
\
sloppy
(or its environment version
sloppypar
), and have TeX stretch what would otherwise
be underfull lines to fill the space offered, while prematurely
wrapping overfull lines and stretching the remainder.
Alternatively, you may set the text ragged right,
and at least get rid of the overfull lines; this technique is
‘traditional’ (in the sense that typists do it) and may be expected to
appeal to the specifiers of eccentric document layouts (such as those
for dissertations), but for once their sense conforms with typographic
style. (Or at least, style constrained in this curious way.)
This question on the Web: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hyphoff