I am a bit confused about the use of ContinuedFloat and the subcaption package. I have:
Code: Select all
\documentclass{book}
\usepackage{hyperref}
\usepackage{caption}
\usepackage[list=on]{subcaption}
\begin{document}
\begin{figure}
\centering
\unitlength .5cm
\subcaptionbox{SubFig1\label{fig:testsub1}}
{%
\begin{picture}(10,10)
\put(0,0){\line(1,1){10}}
\end{picture}
}
\par
\vspace{10pt}
\subcaptionbox{SubFig2\label{fig:testsub2}}
{%
\begin{picture}(10,10)
\put(0,10){\line(1,-1){10}}
\end{picture}
}
\caption{Testfigures}
\label{fig:test2}
\end{figure}
\begin{figure}
\ContinuedFloat
\centering
\unitlength .5cm
\subcaptionbox{SubFig1\label{fig:testsub1}}
{%
\begin{picture}(10,10)
\put(0,0){\line(1,1){10}}
\end{picture}
}
\par
\vspace{10pt}
\subcaptionbox{SubFig2\label{fig:testsub2}}
{%
\begin{picture}(10,10)
\put(0,10){\line(1,-1){10}}
\end{picture}
}
\caption{Testfigures}
\label{fig:test2}
\end{figure}
\end{document}
I have tried moving things around in various ways but am totally confused on what should go where! Any help much appreciated.
Many thanks,
Laura