| 1 |
\chapter{Continued captions} |
| 2 |
\label{chap:ContCaptions} |
| 3 |
|
| 4 |
Here are some funky floats using ``continued captions'', i.e. for a semantically |
| 5 |
collected group of float contents which are too numerous to fit into a single |
| 6 |
float, such as the pretty circles in the following figure: |
| 7 |
|
| 8 |
\newcommand{\circleimg}[1]{% |
| 9 |
\begin{tikzpicture} |
| 10 |
\draw[color=black,fill=#1,thick] (1,0) circle (1.5cm); |
| 11 |
\end{tikzpicture}% |
| 12 |
} |
| 13 |
|
| 14 |
\begin{figure}[hb] |
| 15 |
\subfloat[][Example 1a]{\label{fig:cc1a}\circleimg{red!80}}\quad |
| 16 |
\subfloat[][Example 1b]{\label{fig:cc1b}\circleimg{green!70!yellow}}\quad |
| 17 |
\subfloat[][Example 1c]{\label{fig:cc1c}\circleimg{blue!80}}\quad |
| 18 |
\subfloat[][Example 1d]{\label{fig:cc1d}\circleimg{orange!80!yellow}} |
| 19 |
\caption{Demonstration of \texttt{subfig} continued captions.} |
| 20 |
\label{fig:cc1} |
| 21 |
\end{figure} |
| 22 |
|
| 23 |
\begin{figure}[p] |
| 24 |
\ContinuedFloat |
| 25 |
\subfloat[][Example 1e]{\label{fig:cc1e}\circleimg{violet}}\quad |
| 26 |
\subfloat[][Example 1f]{\label{fig:cc1f}\circleimg{cyan}}\quad |
| 27 |
\subfloat[][Example 1g]{\label{fig:cc1g}\circleimg{magenta}}\quad |
| 28 |
\subfloat[][Example 1h]{\label{fig:cc1h}\circleimg{yellow}} |
| 29 |
\caption[]{Demonstration of \texttt{subfig} continued captions (continued).} |
| 30 |
\end{figure} |
| 31 |
|
| 32 |
\noindent |
| 33 |
This mechanism means that the same float label is used for both pages of |
| 34 |
floats. Note that we can refer to \FigureRef{fig:cc1} in general, or to |
| 35 |
\FigureRef{fig:cc1g} on \PageRef{fig:cc1g} in particular! |
| 36 |
|
| 37 |
\noindent |
| 38 |
Just for the hell of it, let's also refer to \SectionRef{sec:neutralmixing}. |