Article View: comp.text.tex
Article #2184Re: dynamic parbox in tabular env - is it possible?
From: David Carlisle
Date: Thu, 13 Aug 1992 12:57
Date: Thu, 13 Aug 1992 12:57
54 lines
2759 bytes
2759 bytes
In article <maassen.713686177@kreon> maassen@kreon.informatik.rwth-aachen.de (Andreas Maassen) writes:
Andreas> Nntp-Posting-Host: kreon
Andreas> I would like to have a table (created with tabular environment) with
Andreas> one (or maybe more than one parbox) columns (p{...}). The width of this
Andreas> (or these) parbox columns, however, should not be fixed but rather be
Andreas> dynamically adjusted to the space not used by the other columns.
Andreas> For example, with textwidth 15cm, \begin{tabular}{|l|p{***}|}, and
Andreas> the longest entry for the left column being 5cm long, *** should be
Andreas> automatically set to 10cm (minus the space needed for separating the
Andreas> columns, of course). Is anything like that possible?
Andreas> Andreas
Andreas> (maassen@parsytec.de)
Get tabularx.sty from SHSU (also aston and Stuttgart I think).
From David Jones' macro-index:
> Name: tabularx.sty
> Description: LaTeX style option defining the tabularx environment. This
> is like tabular*, except that the widths of certain `p' columns are
> modified to achieve the desired total width, rather than the width
> of the inter-column space.
> Keywords: LaTeX, tabular
> Author: David Carlisle <carlisle@cs.man.ac.uk>
> Supported: yes
> Latest Version: 30 Jan 1992
> Archives: shsu*
> Note: Requires my newarray.sty and Mittelbach's array.sty.
> Documentation requires Mittelbach's doc.sty.
David
If you would like to retrieve the file, include the command:
SENDME STY.TABULARX
in the body of a mail message to FILESERV@SHSU.BITNET (FILESERV@SHSU.edu).
If you would like an overview of FILESERV, include the command HELP in your
message. For anonymous ftp access, use Niord.SHSU.edu (192.92.115.8) and
look in the directory [FILESERV.STY].
--
David Carlisle
JANET: carlisle@uk.ac.man.cs
Computer Science Department
Manchester University
Oxford Road
Manchester
England
M13 9PL
Technical Details
Message-ID:
<CARLISLE.92Aug13135723@r8d.cs.man.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!m1!carlisleReferences:
<maassen.713686177@kreon>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!m1!carlisle From: carlisle@cs.man.ac.uk (David Carlisle) Newsgroups: comp.text.tex Subject: Re: dynamic parbox in tabular env - is it possible? Message-ID: <CARLISLE.92Aug13135723@r8d.cs.man.ac.uk> Date: 13 Aug 92 12:57:23 GMT References: <maassen.713686177@kreon> Sender: news@cs.man.ac.uk Organization: Department of Computer Science, University of Manchester Lines: 54 In-reply-to: maassen@kreon.informatik.rwth-aachen.de's message of 13 Aug 92 06:09:37 GMT