我正在使用以下命令来合并图形,如果它们不适合该页面,我想让它们继续下一页。
\begin{figure}[htb]
\centering
\begin{tabular}{@{}cccc@{}}
\includegraphics[width=.3\textwidth]{grratebcbd} &
\includegraphics[width=.3\textwidth]{grratebmres} &
\includegraphics[width=.3\textwidth]{grratecagdp}\\
\includegraphics[width=.3\textwidth]{grrateexportsclcu} &
\includegraphics[width=.3\textwidth]{grrateimportsclcu} &
\includegraphics[width=.3\textwidth]{grratecausd} \\
\includegraphics[width=.3\textwidth]{grratedomcredit} &
\includegraphics[width=.3\textwidth]{grrateres} &
\includegraphics[width=.3\textwidth]{grratergdp} \\
\includegraphics[width=.3\textwidth]{grratenetfdi} &
\includegraphics[width=.3\textwidth]{grratereerwb} &
\includegraphics[width=.3\textwidth]{grrateresdebt} \\
\includegraphics[width=.3\textwidth]{grratetot1} &
\includegraphics[width=.3\textwidth]{grratedebtgdp} &
\includegraphics[width=.3\textwidth]{grrintr} \\
\end{tabular}
\caption{Empirical Regularities During Currency Crises}
\label{fig: cc}
\end{figure}
有谁知道这是怎么做到的吗?
答案1
您可以使用 longtable,特别是来替换 tabular。
\documentclass[letter]{article}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{ltcaption}
\usepackage{duckuments}% for variety
\begin{document}
\noindent\rule{\textwidth}{20\baselineskip}
\renewcommand{\LTcaptype}{figure}%
\begin{longtable}{@{}ccc@{}}
\caption{Empirical Regularities During Currency Crises \label{fig: cc}}
\endhead
\includegraphics[width=.3\textwidth]{example-image-duck} &
\includegraphics[width=.3\textwidth]{example-image-duck} &
\includegraphics[width=.3\textwidth]{example-image-duck}\\
%
\includegraphics[width=.3\textwidth]{example-image-duck} &
\includegraphics[width=.3\textwidth]{example-image-duck} &
\includegraphics[width=.3\textwidth]{example-image-duck} \\
%
\includegraphics[width=.3\textwidth]{example-image-duck} &
\includegraphics[width=.3\textwidth]{example-image-duck} &
\includegraphics[width=.3\textwidth]{example-image-duck} \\
%
\includegraphics[width=.3\textwidth]{example-image-duck} &
\includegraphics[width=.3\textwidth]{example-image-duck} &
\includegraphics[width=.3\textwidth]{example-image-duck} \\
%
\includegraphics[width=.3\textwidth]{example-image-duck} &
\includegraphics[width=.3\textwidth]{example-image-duck} &
\includegraphics[width=.3\textwidth]{example-image-duck} \\
\end{longtable}
\end{document}