I am using a standard [twocolumn]{article} class, but want to insert a image that spans both columns. To do this I am using the figure* environment, but when I use the [H] option, my image disappears.
\documentclass[twocolumn]{article}
\usepackage{graphicx}
\usepackage{gensymb}
\usepackage{amssymb}
\usepackage{mhchem}
\usepackage{lipsum}
\usepackage{float}
%% Packages I've tried to use for work arounds
%%\usepackage{dblfloatfix} % position images that span both columns
%%\usepackage{subcaption}
%%\usepackage{placeins}
%%\usepackage{afterpage}
\begin{document}
\title{Example Article}
%% main text
\section{Introduction}
\lipsum[1]
\newpage
\section{Results}
\lipsum[1]
\begin{figure*}[H]
\centering
\includegraphics[width=0.8\textwidth]{images/file_name}
\caption{caption}~\label{fig:figure1}
\end{figure*}
\clearpage
\section{Conclusions}
\lipsum[3-4]
\end{document}
The intro and results paragraphs are both short, so I want them at the top, with the image at the bottom spanning both columns. Any suggestions?
Best Answer
The two column
figure*
is only compatible with[tp]
. There is a fix indblfloatfix.sty
to use[b]
but that will put the figure on the bottom of next page. Still not compatible with[h]
. The easiest way I can think of, if the columns look something in the example, is to place it yourself using aminipage
. I have used\captionof
from thecaption
package to get the caption.