[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-texinfo] Preventing word split at the end of a line
From: |
Karl Berry |
Subject: |
Re: [help-texinfo] Preventing word split at the end of a line |
Date: |
Wed, 26 Feb 2014 23:02:21 GMT |
Hi,
some words at the end of the line get split,
Sure. Hyphenation has been a standard part of Latin typesetting for
centuries.
Is there a way for texinfo to prevent such word splits, and instead
adjust the whitespace automatically?
I think this should do it:
@tex
\global\hyphenpenalty=10000
@end tex
The result will have much more spaced out words,
since that's what you're asking for.
(Hopefully not as bad as that, though.)
To take it one step farther, if you don't care about justification
(=an even right-hand margin), you could also do
@tex
\global\rightskip = 0pt plus 20pt
@end tex
(adjust the value to taste) which will help TeX have less spacey lines.
It's possible that something in the document will reset one or both of
those parameters to the defaults, I can't say for sure. Just have to
try it.
good luck,
karl