home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / text / tex / 15516 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.1 KB

  1. 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
  2. From: "Daniel H. Luecking" <DL24794@UAFSYSB.UARK.EDU>
  3. Newsgroups: comp.text.tex
  4. Subject: Re: No Subject
  5. Message-ID: <10347727@MVB.SAIC.COM>
  6. Date: Tue, 26 Jan 93 14:52:32 CST
  7. Organization: Info-Tex<==>Comp.Text.Tex Gateway
  8. X-Gateway-Source-Info: Mailing List
  9. Lines: 38
  10.  
  11.  
  12. David Osborne <cczdao@mips.nott.ac.uk> writes
  13.  
  14. > Pierre MacKay writes (25 Jan 93 18:51:33 PST):
  15. >
  16. >  >   > Is there any way to write a macro which would allow words
  17. >  >   > which can't be hyphenated to be placed on the next line,
  18. >  >   > rather than be given an overfull box? Such a macro would be
  19. >  >   > very useful with narrow columns.
  20. >  >
  21. >  > You might try increasing \fontdimen3 for your text font to a REALLY
  22. >  > large size.  Then TeX will always be glad to stretch interword space,
  23. >  > just like Time magazine does.  It might tend to reduce hyphenations
  24. >  > below the level you want, so be prepared to tweak the hyphenation
  25. >  > penalty too.
  26. >
  27. > A simpler and more aesthetic solution is to use \raggedright, which
  28. > Knuth suggests (TeXbook, p.29) for exactly this problem.  It can also
  29. > be used in LaTeX (Lamport, p.112).
  30.  
  31. This might not work as expected. The \rightskip inserted by \raggedright in
  32. plain TeX has only a little stretchability, while in LaTeX it has infinite
  33. stretchability. This also gives (as it says) ragged right lines and the
  34. original poster seems to suggest that TeX should behave as usual, but should
  35. overstretch a line in preference to setting an overfull line.
  36.  
  37. From that point of view the problem is to make underfull boxes less bad than
  38. usual. One way is to increase the stretch component of the font's interword
  39. space (the first solution), another is to set \tolerance to a large number,
  40. like 9999 (or even 10,000). I usually do this until the semifinal run, when I
  41. put it back to the default and fix the overfull boxes. One way to see how to
  42. handle narrow columns is to read multicol.doc.
  43.  
  44. >
  45. > ~~David Osborne
  46. >   Cripps Computing Centre, University of Nottingham
  47.  
  48. Dan Luecking
  49.