Graphics, Figures & Tablesspan table across two columns

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
jamborta
Posts: 2
Joined: Thu Oct 14, 2010 3:33 pm

span table across two columns

Post by jamborta »

Hi,

I have been looking for the answer of this simple question all over the internet...
I would like to span a table across two columns and place it at the top of the page.
there is this way

Code: Select all

\begin{table*}
\end{table*}
which does that but it puts the table on the last page. is there a way to place it to the actual page?

thanks
Last edited by jamborta on Thu Oct 14, 2010 5:07 pm, edited 1 time in total.

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

span table across two columns

Post by localghost »

The table(*) environment accepts optional parameters for placement.

Code: Select all

\begin{table*}[!ht]
% Table content (and caption)
\end{table*}
As far as I remember the output will appear no earlier than on the top of the next page.


Best regards and welcome to the board
Thorsten
jamborta
Posts: 2
Joined: Thu Oct 14, 2010 3:33 pm

Re: span table across two columns

Post by jamborta »

thanks. that solved it. i didn't realise that it puts it on the next page, not the actual one, as it usually does.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

span table across two columns

Post by localghost »

As clearly written in the Board Rules, marking a topic as solved means to edit the first post, not the last one. Please catch up on that and keep it in mind for the future so that further reminders will not be necessary.
Post Reply