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.
geometrysettings) that leads to a different hyphenation than you would like. – Teepeemm Jan 20 '18 at 20:41\showhyphens{standard}returnsstan-dardwhen the American English hyphention rules are in force. – GuM Jan 20 '18 at 20:42\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\usepackage[british]{babel}I getstand-ardfrom the previous experiment. – GuM Jan 20 '18 at 20:56stand-ard, but I was not able to recreate it. However, I was able to create another example. Take the code from the example from the linked question and write the following in anenumerate-environment:\item Instead, cases are deliberately selected, based on their properties and on \textbf{theoretical reasons}.. Use these properties:\setlength{\spaceskip}{.3em plus .1em minus .1em},\pretolerance=-1,\hyphenpenalty=-100and\looseness=-1000. The result will bereas-ons. – Nemgathos Jan 20 '18 at 21:17\hyphenpenalty=-10000, that is, I forgot the backslash), also setting\lefthyphenmin=0and\righthyphenmin=0; but if you are using thebabelpackage, that won’t have any effect, and you’ll have to read the manual. – GuM Jan 20 '18 at 21:22rea-sonsthe British English patterns givereas-ons(reas-onslooks better to me) – David Carlisle Jan 20 '18 at 21:26\showhyphens{hyphenation}with the British English hyphenation rules in force, and it giveshy-phen-a-tion, as your source suggests. OT: I recall that, two years ago, I was about to post an “April fool” question asking for a way of emulating Word’s line-breaking algorithm with TeX, but in the end I refrained from doing so: it seems that reality has overcome imagination, and that I should have asked that question! – GuM Jan 20 '18 at 21:33reas-onsis British; I’d have thought that it is American (or wrong), and not vice versa.) – Nemgathos Jan 20 '18 at 21:36\showhyphens{reasons}reports if using the British patterns, reas-ons seems better to me. I do not understand your requirement at all: If you do not like a specific break you can always edit the source and add explicit or discretionary hyphens where needed, or use\mboxto prevent hyphenation. You can control every linebreak and every hyphenation individually if you do not like the default – David Carlisle Jan 20 '18 at 21:40\mbox{reasons}? And what about forcing a hyphen (wheresoever in the text) and continuing with a linebreak? If I, for example, writeLorem ipsumin a line that is long enough to contain far more words than just these two, I would like to force a hyphen so that the first line containsLorem ip-and the second line continues withsum. I know that the huge whitespace betweenLoremandip-may look very odd if it is very big, but this shall just be an example. – Nemgathos Jan 20 '18 at 21:48ip\-sumadds a discretionary hyphen at that point replacing the discretionary points added by the automatic patterns,ip-\linebreak sumadds a mandatory hyphen and mandatory line break at that point. – David Carlisle Jan 20 '18 at 21:51\looseness=-1000was rather stupid, since this parameter is reset every time a new paragraph begins. You could try, instead,\linepenalty=5000 \hyphenpenalty=0 \exhyphenpenalty=0 \pretolerance=-1 \tolerance=1000 \doublehyphendemerits=0 \finalhyphendemerits=0 \adjdemerits=0 \setlength\spaceskip{.3em plus .05em minus .05em} \setlength\xspaceskip{.5em plus .1em minus .1em} \setlength\emergencystretch{10pt}, but I wouldn’t expect much from it… – GuM Jan 20 '18 at 23:05hy-phen-ation.) – ShreevatsaR Jan 21 '18 at 02:44