LaTeX forum ⇒ Graphics, Figures & Tables ⇒ span table across two columns

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

span table across two columns

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
\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.

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany
The table(*) environment accepts optional parameters for placement.
\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
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

jamborta
Posts: 2
Joined: Thu Oct 14, 2010 3:33 pm
thanks. that solved it. i didn't realise that it puts it on the next page, not the actual one, as it usually does.

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany
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.
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1