[comp.text.tex] HELP with supertabular

langer@aero.org (John V. Langer) (05/15/91)

Does anyone know how to use a \parbox (or a \minipage) as a supertabular
entry?  When I try, LaTeX/supertabular seem to count each supertabular
entry as one line -- regardless of how many lines the \parbox really
represents -- so that the table flows off the page.  Then, strangely,
the next page is blank!

I'm afraid that I don't understand .sty files well enough to properly
diagnose, let alone fix, this problem.

ANY help would be most welcome!

A shortened example LaTeX set-up that demonstrates the problem is appended.

		       -- John Langer

===============================================================================
| langer@aerospace.aero.org  |  jvl@mickey.aero.org  |  langer@130.221.192.10 |
===============================================================================
\documentstyle[supertabular]{article}
\begin{document}
\tablehead{\hline
Ster&Harvardnr&max&periode&\multicolumn{3}{l|}{Datum}\\
\hline}
\tabletail{\hline}

\begin{supertabular}{|llrrrrr|}
SS Cas &000451 &  8.8&140.57&30&jan&\parbox{1 in}{1989 test of parbox command}\nextline
SS Cas &000451 &  8.8&140.57& 7&nov&\parbox{1 in}{1989 test of parbox command}\nextline
T And  &001726 &  7.7&280.76&10&aug&\parbox{1 in}{1989 test of parbox command}\nextline
R And  &001838 &  5.6&409.33&18&jun&\parbox{1 in}{1989 test of parbox command}\nextline
RV Cas &004746a&  7.3&331.68& 8&mei&\parbox{1 in}{1989 test of parbox command}\nextline
       .
       .  100 or so similar lines
       .
RW Peg &225914 &  8.8&208.43&23&aug&\parbox{1 in}{1989 test of parbox command}\nextline
V Cas  &230759 &  6.9&228.83&18&feb&\parbox{1 in}{1989 test of parbox command}\nextline
W Peg  &231425 &  7.9&344.92&27&apr&\parbox{1 in}{1989 test of parbox command}\nextline
S Peg  &231508 &  7.1&319.22& 4&dec&\parbox{1 in}{1989 test of parbox command}\nextline
Z Peg  &235525 &  7.7&325.47&23&jun&\parbox{1 in}{1989 test of parbox command}\\
\end{supertabular}
\end{document}
-- 
===============================================================================
| langer@aerospace.aero.org  |  jvl@mickey.aero.org  |  langer@130.221.192.10 |
===============================================================================

piet@cs.ruu.nl (Piet van Oostrum) (05/17/91)

>>>>> langer@aero.org (John V. Langer) (JVL) writes:

JVL> Does anyone know how to use a \parbox (or a \minipage) as a supertabular
JVL> entry?  When I try, LaTeX/supertabular seem to count each supertabular
JVL> entry as one line -- regardless of how many lines the \parbox really
JVL> represents -- so that the table flows off the page.  Then, strangely,
JVL> the next page is blank!

Supertab has to count it as one line because it can't figure out the height
of the line. The newest version supports the p{} command which can figure
out the height of the parbox. This will solve your problem. 

How to get supertab.sty and supertab.tex from the archive at
	Dept. of Computer Science, Utrecht University:

NOTE: In the following I have assumed your mail address is john@highbrow.edu.

    Of course you must substitute your own address for this. This should be
    a valid internet or uucp address. For bitnet users name@host.BITNET
    usually works.  

by FTP: (please restrict access to weekends or evening/night (i.e. between
about 20.00 and 0900 UTC).

    ftp archive.cs.ruu.nl [131.211.80.5]
    user name: anonymous or ftp
    password: your own email address (e.g. john@highbrow.edu)
    cd /pub
    don't forget to set binary mode if the file is a tar/arc/zoo archive,
    compressed or in any other way contains binary data.
    get TEX/latexstyle/supertab.sty
    get TEX/latexstyle/supertab.tex

by mail-server:

send the following message to
mail-server@cs.ruu.nl (or uunet!mcsun!hp4nl!ruuinf!mail-server):

    begin
    path john@highbrow.edu (PLEASE SUBSTITUTE *YOUR* ADDRESS)
    send TEX/latexstyle/supertab.sty
    send TEX/latexstyle/supertab.tex
    end

NOTE: *** PLEASE USE VALID INTERNET ADDRESSES IF POSSIBLE. DO NOT USE
ADDRESSES WITH ! and @ MIXED !!!! BITNETTERS USE USER@HOST.BITNET ***

The path command can be deleted if we receive a valid from address in your
message. If this is the first time you use our mail server, we suggest you
first issue the request:
    send HELP
--
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')

braams@pttrnl.nl (Johannes L. Braams) (05/23/91)

In article <1991May15.010120.11557@aero.org>, 
langer@aero.org (John V. Langer) writes:
> Does anyone know how to use a \parbox (or a \minipage) as a supertabular
> entry?  When I try, LaTeX/supertabular seem to count each supertabular
> entry as one line -- regardless of how many lines the \parbox really
> represents -- so that the table flows off the page.  Then, strangely,
> the next page is blank!
	This is the behaviour of a very old version of supertabular.
	I suggest you get the most recent version, much enhanced,
	new features, other algorithm, from LISTSERV@HEARN.
	It si in the file SUPERTAB STY and SUPERTAB TEX contains
	some examples.
-- 

	Johannes Braams

PTT Research Neher Laboratorium,        P.O. box 421,
2260 AK Leidschendam,                   The Netherlands.
Phone    : +31 70 3325051               E-mail : JL_Braams@pttrnl.nl
-------------------------------------------------------------------------------