Graphics, Figures & TablesLong tabular without table environment

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
davidec
Posts: 16
Joined: Thu Oct 22, 2009 6:18 pm

Long tabular without table environment

Post by davidec »

Dear all,

I would like to create a long "tabular" list which stretches over multiple pages.

The natural solution to it would be to use "longtable", "supertabular", "xtab" or the likes. The issue is that, as I understand it, each one of these environments is equivalent to "tabular" and "table" together, i.e. they give a number to the table and so on. Specifically: normally for a small table I would do:

Code: Select all

 \begin{table}
\begin{tabular}{rcc}
\end{tabular}
\end{table}
whereas for a long table the following is enough:

Code: Select all

 \begin{longtable}{rcc}
\end{longtable}
This time, however, I would like a long table, but without the table environment around it. Just a very, very long tabular environment, in fact. I don't want it to be numbered as a table, but rather to go directly into the text. Is there any way to achieve this with "longtable", "supertabular", or "xtab", or is there another solution?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Long tabular without table environment

Post by sommerfee »

davidec wrote:This time, however, I would like a long table, but without the table environment around it. Just a very, very long tabular environment, in fact. I don't want it to be numbered as a table, but rather to go directly into the text. Is there any way to achieve this with "longtable", "supertabular", or "xtab", or is there another solution?
Just use longtable etc. and don't give it a \caption.

By using longtable the table counter will be incremented anyway -- if this is undesired use the longtable* environment offered by the ltcaption package instead. (ltcaption is part of the caption package bundle.)
davidec
Posts: 16
Joined: Thu Oct 22, 2009 6:18 pm

Re: Long tabular without table environment

Post by davidec »

Wonderful, thank you very much, Sommerfee!

I suspected there would be something like a tabular*-environment, but I would not have guessed that you need the ltcaption package.
Post Reply