Note: Please do not mark it as a duplicate entry although it may appear similar to already answered questions on figures spanning two columns.
I am using the latest latex template provided by the Oxford bioinformatics Journal. I have a figure which spans two columns. The figure is placed correctly on the page, however, the figure caption appears in the first column of the page and text from the second column overlaps the figure. I tried using Figure*, but this makes the figure and the caption completely disappear from the document. I checked the bioinfo.cls file, but was not sure where to make changes. How should I correct this?
Here is the part of the class file which deals with figures and tables:
\def\thefigure{\@arabic\c@figure}
\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\fnum@figure{\figurename~\thefigure}
\def\figure{\@float{figure}}
\let\endfigure\end@float
\@namedef{figure*}{\@dblfloat{figure}}
\@namedef{endfigure*}{\end@dblfloat}
\def\thetable{\@arabic\c@table}
\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\fnum@table{Table~\thetable}
\def\table{\let\@makecaption\@tablecaption\let\source\tablesource\@float{table}}
\def\endtable{\end@float}
\@namedef{table*}{\let\@makecaption\@tablecaption\@dblfloat{table}}
\@namedef{endtable*}{\end@dblfloat}
And, here is the code for my figure
\begin{figure}{!tbp}%figure1
{\includegraphics[width=1.0\textwidth]{ToolInterface.png}}
\caption{Tool caption here}\label{fig:01}
\end{figure}
\begin{figure*}...\end{figure*}? – Ignasi Jul 19 '16 at 10:19splitenvironment, fromcuted, possibly droppingfigure, and usingcenterand\captionof{figure}{…}instead? – Bernard Jul 19 '16 at 10:34\begin{figure}, I should use\center? – novicegeek Jul 19 '16 at 10:36\centering(stripintroduces a vertical skip, andcenteranother one). I think the main point is to see first if it works with this template. – Bernard Jul 19 '16 at 10:43undefined control sequencefor\captionof. – novicegeek Jul 19 '16 at 11:05\captionofrequires loadingcaption(recommended anyway if you put table captions above tables – as it should). – Bernard Jul 19 '16 at 12:06