[texhax] Disable hyphenation after - everywhere

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Sat Sep 2 19:44:57 CEST 2017



On 02/09/2017 18:37, Philip TAYLOR wrote:
> If you mean /at/ an explicit hyphen, then the following may offer some 
> ideas :
>
>     \hsize = 3 em
>
>     \exhyphenpenalty = \maxdimen
>
>     \noindent begin anti-dis-es-tab-list-ment-arian-ism end\par
>
>     \noindent begin antidisestablistmentarianism end\par
>
or

    \hsize = 3 em

    \exhyphenpenalty = \maxdimen

    \noindent begin anti-dis-es-tab-lish-ment-arian-ism end\par

    \noindent begin antidisestablistmentarianism end\par

    \noindent begin anti-dis-es-tab-lish\discretionary
    {-}{}{}ment-arian-ism end\par

    \end

to illustrate how you might then mark up a permitted break point.

Philip Taylor




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20170902/f89f9403/attachment.html>


More information about the texhax mailing list