[texhax] hyphenation ...

Ian Collier Ian.Collier at comlab.ox.ac.uk
Wed Nov 17 15:59:31 CET 2004


On Wed, Nov 17, 2004 at 09:38:03AM -0500, William F. Adams wrote:
> On Nov 17, 2004, at 5:29 AM, Ian.Collier at comlab.ox.ac.uk wrote:
> >  \hyphenpenalty=10000      %% or any of the other ways
> >  \exhyphenpenalty=10000    %% to turn hyphenation off

> One question --- why is it better to set this as a penalty as opposed 
> to just setting the hyphenchar to -1? Or does doing so alter this?

No reason - I copied that bit from the original poster in this thread.

However, it may be noted that setting \hyphenchar to -1 has to be
done for all fonts used in the text that is to be dehyphenated.

imc



More information about the texhax mailing list