home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!sgiblab!sdd.hp.com!elroy.jpl.nasa.gov!usc!news.service.uci.edu!unogate!mvb.saic.com!info-tex
- From: "Daniel H. Luecking" <DL24794@UAFSYSB.UARK.EDU>
- Newsgroups: comp.text.tex
- Subject: Re: No Subject
- Message-ID: <10347727@MVB.SAIC.COM>
- Date: Tue, 26 Jan 93 14:52:32 CST
- Organization: Info-Tex<==>Comp.Text.Tex Gateway
- X-Gateway-Source-Info: Mailing List
- Lines: 38
-
-
- David Osborne <cczdao@mips.nott.ac.uk> writes
-
- > Pierre MacKay writes (25 Jan 93 18:51:33 PST):
- >
- > > > Is there any way to write a macro which would allow words
- > > > which can't be hyphenated to be placed on the next line,
- > > > rather than be given an overfull box? Such a macro would be
- > > > very useful with narrow columns.
- > >
- > > You might try increasing \fontdimen3 for your text font to a REALLY
- > > large size. Then TeX will always be glad to stretch interword space,
- > > just like Time magazine does. It might tend to reduce hyphenations
- > > below the level you want, so be prepared to tweak the hyphenation
- > > penalty too.
- >
- > A simpler and more aesthetic solution is to use \raggedright, which
- > Knuth suggests (TeXbook, p.29) for exactly this problem. It can also
- > be used in LaTeX (Lamport, p.112).
-
- This might not work as expected. The \rightskip inserted by \raggedright in
- plain TeX has only a little stretchability, while in LaTeX it has infinite
- stretchability. This also gives (as it says) ragged right lines and the
- original poster seems to suggest that TeX should behave as usual, but should
- overstretch a line in preference to setting an overfull line.
-
- From that point of view the problem is to make underfull boxes less bad than
- usual. One way is to increase the stretch component of the font's interword
- space (the first solution), another is to set \tolerance to a large number,
- like 9999 (or even 10,000). I usually do this until the semifinal run, when I
- put it back to the default and fix the overfull boxes. One way to see how to
- handle narrow columns is to read multicol.doc.
-
- >
- > ~~David Osborne
- > Cripps Computing Centre, University of Nottingham
-
- Dan Luecking
-