[texhax] penalties

Uwe Lück uwe.lueck at web.de
Sun May 17 22:01:07 CEST 2009

At 05:26 01.05.09, Oleg Katsitadze wrote:
>So you should end the paragraph while the new settings are still in effect:
>     {\hyphenpenalty5000 Text of offending paragraph.\par}
>or just
>     {\hyphenpenalty5000 Text of offending paragraph.
>     }

or just

       Text of offending paragraph.{\hyphenpenalty5000\par}



P.S.: This is easier for pasting from the clipboard or autocomplete than 
wrapping. I have spent weeks (I'm afraid) wrapping paragraphs with 
\begin{sloppypar} ... \end{sloppypar} -- damned! -- instead of 
{\sloppy\par}. Likewise {\centering\par} ... Cf. TeXbook exercise 14.15.

More information about the texhax mailing list