I am using one column environment to write text and put figures with their captions. At a certain point I had a longitudinal figure to integrate so I wanted to put its caption laterally by using paracol
. Everything worked as expected, except that figure
counter was not updated when I get back to one column environment.
Here is the minimal example:
\documentclass[a4paper,twoside,12pt]{report}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{paracol}
\usepackage{verbatim}
\usepackage[nottoc, notlof, notlot]{tocbibind}
\begin{document}
\listoffigures
\begin{figure}[h!]
\centering
\LARGE{ONECOL}
\caption[onecol]{onecol}
\end{figure}
\begin{paracol}{2}
\begin{leftcolumn}
\centering
\LARGE{PARACOL}
\end{leftcolumn}
\begin{rightcolumn}
\begin{figure}
\caption[paracol]{paracol }
\end{figure}
\end{rightcolumn}
\end{paracol}
\begin{figure}[h!]
\centering
\LARGE{ONECOL}
\caption[onecol]{onecol}
\end{figure}
\end{document}
Here is the output:
How could I fix that? Or is there another way to have the same output with well behaved figure counter incrementation?
Thank you