TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm writing a paper using SIGPLAN conference 2 columns format. I maintain separate .tex files per each chapters:

%% main.tex    
\documentclass[preprint, 10pt]{sigplanconf}
\usepackage{ ... }

'abstract' and 'intro' together has 1.2 page long, and 'related' follows then. The length of 'related' is 0.8 page long. That means all contents until 'related are in page 2.

The problem is that I have a wide table, {table*} that spans two columns in the 'related' file.

%% related.tex

However, this wide table is always located at page 3, not page 2. To make this wide table to be page 2, I need to move the table into the middle of 'intro', which is very ugly. Even worse, this can make the table caption numbers to be out of order.

Is there any way to enforce the location of a wide table? In my case, I want to draw the wide table at page 2.

I came across fixltx2e package, but inserting this package just makes huge errors on {table*} and {figure*}.

share|improve this question

migrated from stackoverflow.com Sep 14 '11 at 22:50

This question came from our site for professional and enthusiast programmers.

I have two suggestions. First, replace the \begin{center} and \end{center} commands with the single instruction \centering. This will shrink the vertical space required by the entire table quite noticeably. Second, place the code of the table in a file by itself, and \input that file immediately after the abstract but before the intro file.

In the following MWE, I'm using the article documentclass instead of sigplanconf (which isn't on my TeX system), and I'm using filler text from the lipsum package to simulate the contents of the abstract and the first two sections. Notice that the code for the table comes before the start of section 1; as a result, it gets placed at the top of page 2, which I believe is what you want. (In twocolumn LaTeX documents, floats will only be placed at the top, hence it's unnecessary, and useless, to provide the [t] positioning option.) Happy TeXing!


\caption{Some data points} \label{tab:data}
a & b & c & d & e\\


\section{Related Literature}

share|improve this answer
unless this has been changed with fixltx2e or some other addendum to base latex, two-column tables can't use either the b or h options. (latex manual, p.197: "Not possible for double-column figures and tables in two-column format.") i'd really like to be shown wrong! (we sometimes have two-column inserts in tugboat, and they're hacked in by hand when bottom placement is wanted; put content in a one-column box with \hss to avoid nasty messages, force it into column 1, trial-set the page, then \negative \enlargethispage` in column 2. yuck.) – barbara beeton Sep 15 '11 at 13:01
You're absolutely right, Barbara. I'm rewriting my entire answer accordingly. – Mico Sep 15 '11 at 18:07
still a problem. original poster said that abstract + intro cover 1.2 pages. so the table code absolutely has to be input before the end of the intro. maybe best to put table code in a separate file, and input that file too rather than having the code physically in the section where it's referenced. (somewhat counter-intuitive, i know, but if a page starts before a table* is encountered, there's no way to avoid it being pushed off to the next page.) – barbara beeton Sep 15 '11 at 18:46
You're right! I've changed the instructions again, this time to place the table material at the start of the intro section. – Mico Sep 15 '11 at 20:16

Another solution is to use the [h] (for "here") modifier.

share|improve this answer
re [h], won't work. see comments on previous answer. – barbara beeton Sep 15 '11 at 18:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.