Featured Book

LaTeX Beginners Guide

Who is online

In total there are 11 users online :: 1 registered, 0 hidden and 10 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Mila100 and 10 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

span table across two columns

Add tags Information and discussion about graphics, figures & tables in LaTeX documents.

span table across two columns

Postby jamborta on Thu Oct 14th, 2010

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  •  Open in writeLaTeX
\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 14th, 2010, edited 1 time in total.
jamborta
 
Posts: 2
Joined: Thu Oct 14th, 2010

Re: span table across two columns

Postby localghost on Thu Oct 14th, 2010

The table(*) environment accepts optional parameters for placement.
Code: Select all  •  Open in writeLaTeX
\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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Re: span table across two columns

Postby jamborta on Thu Oct 14th, 2010

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

Re: span table across two columns

Postby localghost on Thu Oct 14th, 2010

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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany


Return to Graphics, Figures & Tables

Who is online

Users browsing this forum: Mila100 and 10 guests