🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #247

Re: two-column itemized lists?

#247
From: David Lau
Date: Wed, 04 Nov 1992 08:52
61 lines
2632 bytes
In article <1992Nov3.225524.25908@oracle.pnl.gov> d3e758@bucky.pnl.gov (JE  
Pelkey) writes:

  ...

> So, we want some output that looks basically like what I've shown
> below.  I want the items that correspond to each other on the left and 
> right to line up horizontally with each other and I want them to
> line wrap like in paragraph mode.  Preferably, I should also be
> able to itemize the columns (or at least bullet item them).
> 

  ...

> Here's the type of thing I want:
> 
> 
> 
> Left column - item 1         |     Right column - item 1
> may be multi-line            |
>                              |
>                              |
> Left column - item 2         |     Right column - item 2 - lines up with 
>                              |     Left column - item 2
>                              |
>                              |
> Left column - item 3         |     Right column - item 3
> another multi-line           |
>                              |
>                              |
> 
> ========================================================================
> Jo Pelkey                                   Phone: (509)375-6947
> Battelle Pacific Northwest Labs             Fax:   (509)375-3641
> Mail Stop K7-22                             Email: je_pelkey@pnl.gov
> P.O. Box 999
> Richland, WA  99352
> ========================================================================

You can accomplish this with:

\newlength{\tablewidth}
\setlength{\tablewidth}{\textwidth}
\addtolength{\tablewidth}{-15pt}
\newlength{\tablecolwidth}
\setlength{\tablecolwidth}{0.4\textwidth}

\begin{tabular*}{\tablewidth}
{@{}p{\tablecolwidth}@{\extracolsep{\fill}}p{\tablecolwidth}@{}}
Left column of item 1, maybe multi\-line&Right column of item 1 \\
Left column of item 2&Right column of item 2 lines up with left column of
item 2 \\
Left column of item 3, another multi\-line&Right column of item 3 \\
\end{tabular*}


-- 
David Lau (aka Sleepy Head)
Independent Software Developer
Phone: (604)276-9860  FAX: (604)276-8606
Email: david@worg.questor.wimsey.bc.ca
Technical Details
Message-ID: <1992Nov4.085250.6283@worg.questor.wimsey.bc.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!van-bc!worg.questor.wimsey.bc.ca!david
References: <1992Nov3.225524.25908@oracle.pnl.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!van-bc!worg.questor.wimsey.bc.ca!david
From: david@worg.questor.wimsey.bc.ca (David Lau)
Newsgroups: comp.text.tex
Subject: Re: two-column itemized lists?
Message-ID: <1992Nov4.085250.6283@worg.questor.wimsey.bc.ca>
Date: Wed, 4 Nov 1992 08:52:50 GMT
References: <1992Nov3.225524.25908@oracle.pnl.gov>
Sender: david@worg.questor.wimsey.bc.ca
Reply-To: david@worg.questor.wimsey.bc.ca
Organization: Vancouver NeXT Users Society (VeNUS)
Lines: 61