[texhax] Disable hyphenation after - everywhere
P.Taylor at Rhul.Ac.Uk
Sat Sep 2 19:37:11 CEST 2017
On 02/09/2017 17:14, Aleksandar Zec wrote:
> This question seems simple, but I can't find universal solution
> anywhere on the net.
> I would like to deactivate any addition of any type of hyphenation
> point after - across all document, for all languages, environments,
> etc., and to control hyphenation of compound words by other means.
Do you really mean /after/ "-", or rather /at/ "-" ? My understanding
is that TeX will never hyphenate after an explicit hyphen, but may (of
course) hyphenate /at/ one.
If you mean /at/ an explicit hyphen, then the following may offer some
\hsize = 3 em
\exhyphenpenalty = \maxdimen
\noindent begin anti-dis-es-tab-list-ment-arian-ism end\par
\noindent begin antidisestablistmentarianism end\par
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the texhax