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*}
?split
environment, fromcuted
, possibly droppingfigure
, and usingcenter
and\captionof{figure}{…}
instead?\captionof
requires loadingcaption
(recommended anyway if you put table captions above tables – as it should).