Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Multicolumn + multipage tables...

1,732 views
Skip to first unread message

Josh Huber

unread,
Jun 4, 2001, 12:15:29 AM6/4/01
to
I'm attempting to get a large table displayed in two columns, and across
multiple pages with LaTeX... I've tried longtable (which complains about not
being in 1-column mode), and xtab which almost seems to work with \twocolumn.

nothing seems to work with the multicols environment, unfortunately.

so, what I've got right now is:

\twocolumn
\begin{xtabular}
...
\end{xtabular}
\onecolumn

also, if I wrap this with \{begin,end}{table} the multicolumn feature doesn't
seem to work.

someone else out there MUST have done this before with LaTeX. anyone? :)

Thanks,
Josh Huber

(please CC me on replies, as I don't really read this group regularly -- thanks)

Herbert Voss

unread,
Jun 3, 2001, 11:45:00 AM6/3/01
to
Josh Huber wrote:
>
> I'm attempting to get a large table displayed in two columns, and across
> multiple pages with LaTeX... I've tried longtable (which complains about not
> being in 1-column mode), and xtab which almost seems to work with \twocolumn.
>
> nothing seems to work with the multicols environment, unfortunately.
>
> so, what I've got right now is:
>
> \twocolumn
> \begin{xtabular}
> ...
> \end{xtabular}
> \onecolumn
>
> also, if I wrap this with \{begin,end}{table} the multicolumn feature doesn't
> seem to work.

use package multicol

\begin{multicols}{2}
...
\end{multicols}{2}

... the long table ...

\begin{multicols}{2}
....
\end{multicols}{2}

Herbert

Robin Fairbairns

unread,
Jun 4, 2001, 7:42:44 AM6/4/01
to
Josh Huber <hu...@alum.wpi.edu> wrote:
>I'm attempting to get a large table displayed in two columns, and across
>multiple pages with LaTeX... I've tried longtable (which complains about not
>being in 1-column mode), and xtab which almost seems to work with \twocolumn.
>
>nothing seems to work with the multicols environment, unfortunately.

things like xtab might readily be confused by the way multicols
operates: it proceeds by building huge "pages" and splitting them up
as seems convenient.

>so, what I've got right now is:
>
>\twocolumn
>\begin{xtabular}
>...
>\end{xtabular}
>\onecolumn

xtabular (like supertabular) does its breaking game by looking to see
how much space is left on the page; longtable gets its additional
cleverness by hooking into the output routine: that hooking has never
been extended to deal with the modified output routine of 2-column
(i've never checked to see if it would even be possible...).

>also, if I wrap this with \{begin,end}{table} the multicolumn feature doesn't
>seem to work.

table environments only ever span a single page. i've never actually
used xtabular, but the documentation says there are facilities for
"captioning ... like tables".
--
Robin Fairbairns, Cambridge

Josh Huber

unread,
Jun 4, 2001, 11:24:56 AM6/4/01
to
Herbert Voss <Herber...@alumni.TU-Berlin.DE> wrote:

> use package multicol
>
> \begin{multicols}{2}
> ...
> \end{multicols}{2}
>
> ... the long table ...
>
> \begin{multicols}{2}
> ....
> \end{multicols}{2}
>
> Herbert

I don't understand, how can this make the long table span multiple columns.
Maybe I wasn't clear. I have a table which is narrow enough to fit two columns
of the table on one page. What I'm looking for is a multi-column multi-page
table. (none of the other text in the document is 2-column)

I've tried multicols as well, like so:

\begin{multicols}{2}

\begin{longtable}
...
\end{longtable}

\end{multicols}

but longtable complains about not being in 1-column mode.

Gert und Ulrike Fischer

unread,
Jun 5, 2001, 3:14:21 PM6/5/01
to

Josh Huber schrieb:


>
> I'm attempting to get a large table displayed in two columns, and across
> multiple pages with LaTeX... I've tried longtable (which complains about not
> being in 1-column mode), and xtab which almost seems to work with \twocolumn.

> .....


> someone else out there MUST have done this before with LaTeX. anyone? :)
>

I haven't. But - do you really need a tabular? Couldn't you use a
tabbing or a list environment? Much easier to break in column and pages.

>
> (please CC me on replies, as I don't really read this group regularly -- thanks)

No. If you can post a question you can read the answer too.

Ulrike Fischer

Josh Huber

unread,
Jun 5, 2001, 3:54:08 PM6/5/01
to
Gert und Ulrike Fischer <Nililand...@t-online.de> writes:

> I haven't. But - do you really need a tabular? Couldn't you use a
> tabbing or a list environment? Much easier to break in column and
> pages.

This might be an option. I'll try it out and see how it looks.

> No. If you can post a question you can read the answer too.

Yeah, well...I did start reading the group now, before I was using
Google Groups, which wasn't as convenient but I'm using my own news
server now.

--
Josh Huber

0 new messages