[Tex/LaTex] Placing a figure in the bottom of a page spanning the two columns of an IEEE document

floatsgraphicsieeetran

I am writing an IEEEtran article. I use graphicx for inserting .pdf images. Normally, LaTeX selects a position like A. I want LaTeX automatically find and insert the image to a position like B. How can I do that? This is my code:

\usepackage{graphicx}
\begin{document}
\begin{figure}
  \centering
  % Requires \usepackage{graphicx}
  \includegraphics{Figures/Fig1.pdf}\\
  \caption{hi}\label{hi}
\end{figure}
\end{document}

enter image description here

Best Answer

You need to use the starred version of the {figure*} environment to enable the figure occupy the two columns. Besides, you also need to load the dblfloatfix package (download from here), which is necessary for placing the figure in the bottom of the page. It allows you the use either of the options [tbp]. Here is a MWE:

\documentclass[conference,hidelinks]{IEEEtran}
\usepackage{dblfloatfix}    % To enable figures at the bottom of page
\usepackage[demo]{graphicx} % [demo] option for empty figure
\usepackage{kantlipsum}     % for random text

\begin{document}
\section{Introduction}
\kant[1-5]
\begin{figure*}[!b]
    \centering
    \includegraphics{MyFigure}
    \caption{My Figure in Two Columns}
\end{figure*}
\kant[6-11]
\end{document}

Which outputs the following:

enter image description here

Related Question