home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / text / tex / 14426 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.th-darmstadt.de!iti.informatik.th-darmstadt.de!schrod
  3. From: schrod@iti.informatik.th-darmstadt.de (Joachim Schrod)
  4. Subject: Re: \raggedright
  5. Sender: news@news.th-darmstadt.de (The News System)
  6. Message-ID: <1992Dec23.104830.23243@news.th-darmstadt.de>
  7. Date: Wed, 23 Dec 1992 10:48:30 GMT
  8. References:  <9212221535.AA27080@hawkeye.afit.af.mil>
  9. Nntp-Posting-Host: hp5.iti.informatik.th-darmstadt.de
  10. Organization: TU Darmstadt
  11. Lines: 22
  12.  
  13. In article <9212221535.AA27080@hawkeye.afit.af.mil>, mroth@afit.af.mil (Mark A. Roth) writes:
  14. > The following suggestion was exactly what was needed to solve my
  15. > raggedright with hyphenation needs.  Thanks to all who responded.
  16. >     \def\raggedright{%
  17. >         \rightskip\z@ plus2.0em
  18. >         \spaceskip.3333em plus .1666em
  19. >         \xspaceskip.5em plus .1666em
  20. >         \relax
  21. >         }
  22.  
  23. But please note that this may lead to ugly spacing if you change
  24. fonts. It's especially good notable, if these fonts have different
  25. sizes. (Eg, try to switch to \small and compare the interword glue
  26. with `normal' text.)
  27.  
  28. A real solution would put this into the fontswitching commands. Maybe
  29. NFSS has better hooks for this as lfonts.tex.
  30.  
  31. --
  32. Joachim
  33.