This question already has an answer here:

At first, I thought that hyphenation does not work properly. But then, I fould out that it is normal for (La)TeX and Babel to hyphenate (microtype) text in a different way than software like Word, OpenOffice or Libre Offices does it.

Even when it would be possible to correctly hyphenate a word, (La)TeX sometimes does not do it, because it tries to make some kind of “aesthetic” hyphenation.

The word “hyphenation” could already be a good example. Its syllables are, according to this source, hy-phen-a-tion. (La)TeX may refuse to hyphenate this word as, for example, hy-phenation. But in software like Word, OpenOffice or Libre Office, the software would hyphenate a word wherever it is possible. So, seeing something like hy-phenation in a document created by these computer programmes may be quite common.

I would like to have this kind of hyphenation for (La)Tex, too. That is: Keep a minimum space between words in (justified) text and hyphenate the text wherever it is possible (that is, in terms of hyphenation like in Word, OpenOffice or Libre Office). If I do not like the hyphenation of a particular word, I would like to be able to manually suppress that hyphenation locally but not globally.

I have played around with \pretolerance=0, \hyphenpenalty=-10000 and \setlength\spaceskip{.3em plus .1em minus .1em} as David Carlisle suggested, but nothing has worked so far. I even got some results where correct hyphenation has been totally ignored. For example, the word “standard” has once been hyphenated as stand-ard. I would like to avoid that.

marked as duplicate by David Carlisle, Kurt, Bobyandbob, Zarko, cfr Jan 21 '18 at 3:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    It would be helpful if you provided a sample paragraph (and geometry settings) that leads to a different hyphenation than you would like. – Teepeemm Jan 20 '18 at 20:41
  • 5
    The linebreaking in Word is acknowledged (even by Word developers) as being far inferior to that in TeX (it is hard to do an optimisation over the entire paragraph in a wysiwyg system like word) why would you want to emulate it in tex? Note it is really the line breaking algorithm that is different, the fact that that has an effect on hyphenation points chosen is rather secondary. – David Carlisle Jan 20 '18 at 20:46
  • 2
    Besides \setlength{\spaceskip}{.3em plus .1em minus .1em} you could try \pretolerance=-1 (slightly better than =0), hyphenpenalty=-10000, and \looseness=-1000; but best solution of all, if you really want what you asked for, is to avoid using (La)TeX at all and use Word/OpenOffice/Libre Office instead. – GuM Jan 20 '18 at 20:53
  • 2
    You give as a reference for hyphenation a site which gives syllables, that is a guide to pronunciation In English (especially if the British patterns are used) that is only slightly related to hyphenation. – David Carlisle Jan 20 '18 at 20:56
  • 2
    @Nemgathos ip\-sum adds a discretionary hyphen at that point replacing the discretionary points added by the automatic patterns, ip-\linebreak sum adds a mandatory hyphen and mandatory line break at that point. – David Carlisle Jan 20 '18 at 21:51