LaTeX forum ⇒ Graphics, Figures & Tablesspan 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

Postby jamborta » Thu Oct 14, 2010 3:44 pm

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
  1. \begin{table*}
  2. \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.

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Thu Oct 14, 2010 4:47 pm

The table(*) environment accepts optional parameters for placement.
  1. \begin{table*}[!ht]
  2. % Table content (and caption)
  3. \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 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

Postby jamborta » Thu Oct 14, 2010 4:58 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.

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Thu Oct 14, 2010 5:00 pm

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 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 8 guests