答案1
這是該包的範例subcaption
:
\documentclass{article}
\usepackage{subcaption}
\usepackage{graphicx}
\begin{document}
\listoffigures
\begin{figure}
\begin{subfigure}{\textwidth}
\includegraphics{example-image-A}
\caption{caption of first subfigure}\label{first}
\end{subfigure}
\caption{common caption}\label{whole}
\end{figure}
\begin{figure}
\ContinuedFloat
\begin{subfigure}{\textwidth}
\includegraphics{example-image-B}
\caption{caption of second subfigure}\label{second}
\end{subfigure}
\caption[]{common caption (continued)}
\end{figure}
See \ref{first}
See \ref{second}
See \ref{whole}
\end{document}
答案2
根據我的一點經驗\ContinuedFloat
,該命令僅“凍結”浮動計數器。您可以在figure
環境中新增任何您想要的標題。
\documentclass{article}
\usepackage{subcaption}
\begin{document}
\begin{figure}[p]
\centering
\subcaptionbox{% <- you can used you preferred tool to make subifgures here
first subfigure
\label{first-subfigure}
}{%
\rule{.9\textwidth}{.8\textheight}
}
\caption{First caption -- continued}
\label{fig:splitted-figure-first}
\end{figure}
\begin{figure}[p]
\ContinuedFloat
\centering
\subcaptionbox{% <- you can used you preferred tool to make subifgures here
second subfigure
\label{second-subfigure}
}{%
\rule{.9\textwidth}{.8\textheight}
}
\caption{Second caption}
\label{fig:splitted-figure-second}
\end{figure}
\noindent{}Label of first part of figure: \ref{fig:splitted-figure-first}\\
Label of second part of figure: \ref{fig:splitted-figure-second}\\
Page of first part of figure: \pageref{fig:splitted-figure-first}\\
Page of second part of figure: \pageref{fig:splitted-figure-second}\\
\end{document}