home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / text / tex / 13200 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.4 KB  |  47 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!news.unomaha.edu!unocss!hossein
  3. From: hossein@unocss.unomaha.edu (Hossein Saiedian)
  4. Subject: Re: centering {tabular} entries vertically
  5. Message-ID: <hossein.721978377@unocss>
  6. Sender: news@news.unomaha.edu (UNO Network News Server)
  7. Organization: University of Nebraska at Omaha
  8. References: <Bxu0Bz.249@sci.kun.nl>
  9. Date: Tue, 17 Nov 1992 05:32:57 GMT
  10. Lines: 35
  11.  
  12. alexp@sci.kun.nl (Alex Priem) writes:
  13.  
  14. >I've made a nice-looking table in LaTeX which looks something like this:
  15.  
  16. >1 /------\    data     more data       more data...
  17. >  |      |
  18. >  |      |
  19. >  \------/    
  20.  
  21. >2 /-------\    data     more data       more data....
  22. >  |       |
  23. >  \-------/   
  24.  
  25. >But I want something like this:
  26.  
  27. > /------\   
  28. > |      |
  29. >1|      |    data       more data      more data ....
  30. > \------/
  31.  
  32. >After '1' follows a big \box. I want the 'data' vertically centered in
  33. >a row, but I don't know how to do it. \vcenter doesn't seem to work;
  34.  
  35. I'm sure there are much better solutions, but the following will work
  36. (provided that I have understood your questions correctly):
  37.  
  38. Put the box, more data, and more data in three \minipage
  39. environments. Then place \vfill at the top and bottom of
  40. your minipages to vertically center the items of each
  41. minipage.
  42.  
  43. Well, I guess the above is an ``if all else fail'' solution!
  44.  
  45. Good luck!
  46. Hossein
  47.