Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How to correct the hyphenation in my paper that is entirely wrong? For example, in my paper, there are wrong hyphenations like result-s, s-mall, s-pace, etc. How can I fix this problem. I don't use any package yet.

enter image description here

Sample Code:

\usepackage[english]{babel}

An alternative way is to add:

\righthyphenmin=3
share|improve this question
7  
Hi John, welcome to TeX.sx! Could you edit your question to include a small example document that shows the behaviour you describe? –  Jake Aug 20 '12 at 14:04
4  
As Thorsten said, load \usepackage[english]{babel} –  Sigur Aug 20 '12 at 14:10
5  
@PatrickGundlach -- The default settings for TeX's hyphenation of English-language words are \righthyphenmin=3 and \lefthyphenmin=2. Hence, TeX will never hyphenate s-mall, result-s, or s-pace -- unless one or more of the hyphenation-related defaults have been reset explicitly. –  Mico Aug 20 '12 at 14:23
4  
@JohnSmith: Could you also include the code for a minimal example document that leads to that output? –  Jake Aug 20 '12 at 14:33
5  
As Mico said the setting \righthypenmin looks to have been set to 0. If it is set that way in your latex format something went badly wrong when it was installed. The other alternative is that your tex file resets it. Without sample code impossible to say which of these is the case. –  David Carlisle Aug 20 '12 at 14:40
show 11 more comments

1 Answer 1

up vote 11 down vote accepted

For the words small, space, and results to get hyphenated as s-mall, s-pace, and result-s, somebody or something must have reset two of TeX's fundamental hyphenation-related parameters, viz., \lefthyphenmin and \righthyphenmin. For an English-language setting, the default values of these parameters are

\lefthyphenmin=2

and

\righthyphenmin=3

Something in your document must have managed to set both parameters to 1 (or possibly 0). Be sure to either delete the commands that modify these two parameters or insert the two instructions above in your document (to reset the parameter values to their respective default values).

share|improve this answer
5  
+1 - Another example why a MWE is important... –  topskip Aug 20 '12 at 14:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.