Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!alchemy!piet From: piet@cs.ruu.nl (Piet van Oostrum) Newsgroups: comp.text.tex Subject: Re: HELP with format of Tabular or Paragraph in LaTex Keywords: HELP Message-ID: <1991May17.124849.4508@cs.ruu.nl> Date: 17 May 91 12:48:49 GMT Article-I.D.: cs.1991May17.124849.4508 References: <1991May14.205821.7268@ux1.cso.uiuc.edu> Sender: piet@cs.ruu.nl (Piet van Oostrum) Reply-To: piet@cs.ruu.nl (Piet van Oostrum) Distribution: comp Organization: Dept of Computer Science, Utrecht University, The Netherlands Lines: 43 In-Reply-To: mary@uicsl.csl.uiuc.edu (Mary E. Allison) >>>>> mary@uicsl.csl.uiuc.edu (Mary E. Allison) (MEA) writes: MEA> I'm trying to figure out how to do something with a table using LaTeX. MEA> I've figured out part of it but I'm still trying to work it all out. ... Example deleted An easy way to do this is to escape to the TeX primitive \parshape. I guess you can also do it with a negative \parindent but then you need an extra hspace to compensate. The parshape makes your entries look like: {\parbox[t]{2.5in}{\parshape=2 0pt 2.5in .1in 2.4in\relax Text to be printed} Of course it is better to put the common things into a macro. This gives the following: \newcommand{\pp}[1]{\parbox[t]{1.75in}{\parshape=2 0pt 1.75in .25in 1.5in\relax#1}} \newcommand{\pq}[1]{\parbox[t]{2.5in}{\parshape=2 0pt 2.5in .1in 2.4in\relax``#1''}} \noindent \begin{tabular}{lll} {\sc Speaker} & {\sc Date} & {\sc Title} \\ \\ \pp{Dr.\ Doogie Howser \\ Mayo Clinic } & October 25, 1991 & \pq{How to be a Successful Doctor and Have a Hit TV Show} \\ \\ \pp{Mr. Warren Littlefield \\ NBC } & February 21, 1991 & \pq{How to Survive a Barrage of Mail from Sex-Crazed Quantum Leap Fans} \\ \\ \pp{Ms. Deborah Brown \\ Rochester, NY } & April 9, 1991 & \pq{How to be a Sex-Crazed Quantum Leap Fan} \\ \\ \end{tabular} -- Piet* van Oostrum, Dept of Computer Science, Utrecht University, Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands. Telephone: +31 30 531806 Uucp: uunet!mcsun!ruuinf!piet Telefax: +31 30 513791 Internet: piet@cs.ruu.nl (*`Pete')