Graphics, Figures & TablesForce figure order with two-column figures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
ssilk
Posts: 2
Joined: Sat May 01, 2010 5:44 pm

Force figure order with two-column figures

Post by ssilk »

Hi All,

I've searched the forums as well as Google extensively for this, and haven't found a good response yet, although it seems like a lot of people have the same issue.

I am writing a two-column paper (IEEE format), and I want to mix regular single-column figures ( \begin{figure} ) with two-column figures ( \begin{figure*} ), e.g. some figures are 1-col and some are 2-col.

The problem I have is that Latex sometimes places the figures out of order, e.g. when I look at my compiled document, it might go Fig.1,2,5,3,4 where 5 is a two-col figure. It seems that the single-column and double-column figures are queued differently, even though they are numbered in the order I've actually coded them.

Is there any way to force Latex to strictly keep to the order in which you've coded your figures? I.e. so that the printed figure order would always be 1,2,3,4,5 even when these are a mixture of 1-col and 2-col figures?

Unfortunately I don't have a great MWE example of this because it seems very sensitive to the amount of text; if I write a few more sentences on my first page, everything might come out fine, but it's really unpredictable.

For a small code snippet, here are the figure calls for the above example:

Code: Select all

\begin{figure}[ht]
\begin{figure}[ht]
\begin{figure}[ht]
\begin{figure}[ht]
\begin{figure*}[ht]
Currently the figure are coming out in the order 1,2,5,3,4. I've tried playing around with the placement modifiers, but haven't found that to reliably work.

Thanks.

Recommended reading 2024:

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

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

rbd318
Posts: 1
Joined: Fri Dec 17, 2010 11:48 am

Force figure order with two-column figures

Post by rbd318 »

Use the package fixltx2e. More info can be found here:http://www.tex.ac.uk/cgi-bin/texfaq2htm ... olfltorder
Post Reply