11

I am trying to use IEEETrans to write a scientific paper in two column format. The issue is that one is not allowed to place figures in the left-hand side column of the first page. Figures should start on the top of the right-hand side column of the first page or alternatively, on the second page (any column). Is there any way to restrict the placement of floats to avoid using the left-hand side column of the first page?

  • You could use \usepackage{float} and then use \begin{figure}[H] or look into the placeins package, which allows you to specify where figures can float. I am not posting this as an answer, since this is a sub-optimal solution. – N3buchadnezzar Jul 13 '12 at 8:16
11

enter image description here

You can specify no top or bottom floats in the column. (The class ought to do this in its maketitle definition)

\documentclass{IEEEtran}
\usepackage{lipsum}

\title{My IEEE article}
\author{Author}

\begin{document}
\maketitle
\global\csname @topnum\endcsname 0
\global\csname @botnum\endcsname 0
\begin{abstract} \lipsum[1]\end{abstract}

\section{First Section}

As you can see in Fig~\ref{fig}

\begin{figure}
\centering
\fbox{A nice figure}
\caption{A nice figure}\label{fig}
\end{figure}

\lipsum[1-5]

\end{document}
  • Thanks! It works perfectly! Also allows figures in the left column for the following pages. – Ruben Jul 13 '12 at 9:01
  • This trick only seems to work for the first column or when you put in an explicit pagebreak. How would you handle not to have any floats on the entire first page, i.e. both columns? – Juhl Jul 9 '14 at 9:28
1

This is the easiest way I know: Declare your figure far from first column.

Figures are floating objects and you make reference to them with labels, so it's not necessary to be placed where you are declaring the reference but where you think (more or less) they should be placed.

Next code with figure declared near its reference, places the figure on top of left column:

\documentclass{IEEEtran}
\usepackage{lipsum}

\title{My IEEE article}
\author{Author}

\begin{document}
\maketitle

\begin{abstract} \lipsum[1]\end{abstract}

\section{First Section}

As you can see in Fig~\ref{fig}

\begin{figure}
\centering
\fbox{A nice figure}
\caption{A nice figure}\label{fig}
\end{figure}

\lipsum[1-5]

\end{document}

enter image description here

while, next one declares the figure a little bit later although its reference remains at the first line. This way the figure is placed on right column.

\documentclass{IEEEtran}
\usepackage{lipsum}

\title{My IEEE article}
\author{Author}

\begin{document}
\maketitle

\begin{abstract} \lipsum[1]\end{abstract}

\section{First Section}

As you can see in Fig~\ref{fig}

\lipsum[1-5]

\begin{figure}
\centering
\fbox{A nice figure}
\caption{A nice figure}\label{fig}
\end{figure}

\end{document}

enter image description here

  • 2
    Thanks for the feedback. This solution works well if you are writing continuously. Nonetheless, I would like to be able to go back and edit the initial parts of the text without having to worry about the placement of the figures. – Ruben Jul 13 '12 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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