我正在尝试添加大于一页的子图。我使用的包subfigure
可能确实有点过时,但我坚持使用它,因为我的文档非常大,很难进行必要的更改。
我的代码是
\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{subfigure}
\begin{document}
\begin{figure}[H]
\centering
\subfigure[$\delta E-E$, $E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120CAMAC}}\hfill
\subfigure[$E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120NIM}}
\subfigure[$\delta E-E$, $E_p=2800\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2800120CAMAC}}\hfill
\subfigure[$E_p=2800\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2800120NIM}}
\subfigure[$\delta E-E$, $E_p=3300\;keV$]{\includegraphics[width=0.49\textwidth]{Boron3300120CAMAC}}\hfill
\subfigure[$E_p=3300\;keV$]{\includegraphics[width=0.49\textwidth]{Boron3300120NIM}}
\subfigure[$\delta E-E$, $E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120CAMAC}}\hfill
\subfigure[$E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120NIM}}
\subfigure[$\delta E-E$, $E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120CAMAC}}\hfill
\subfigure[$E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120NIM}}
\subfigure[$\delta E-E$, $E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120CAMAC}}\hfill
\subfigure[$E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120NIM}}
%\label{fig:CompCrosSec}
\caption{alsfjnv;jakf}
\end{figure}
\end{document}
我的输出是
\ContinueFloat
有没有办法使用类似于from包的东西让它沿着 2 页拆分subfig
?
答案1
文档表明有一个subfigure.cfg
文件可用于subfig
与 兼容subfigure
。但是,我无法让它工作。(根据它在我的树中的位置判断,它subfigure.cfg
似乎是 的一部分?)subfigure
texmf
以下有一点帮助:
\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage[config=altsf]{subfig}
\pagestyle{empty}
\begin{document}
\begin{figure}[H]
\centering
\subfigure[$\delta E-E$, $E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120CAMAC}}\hfill
\subfigure[$E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120NIM}}
\subfigure[$\delta E-E$, $E_p=2800\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2800120CAMAC}}\hfill
\subfigure[$E_p=2800\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2800120NIM}}
\subfigure[$\delta E-E$, $E_p=3300\;keV$]{\includegraphics[width=0.49\textwidth]{Boron3300120CAMAC}}\hfill
\subfigure[$E_p=3300\;keV$]{\includegraphics[width=0.49\textwidth]{Boron3300120NIM}}
\subfigure[$\delta E-E$, $E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120CAMAC}}\hfill
\caption{alsfjnv;jakf}
\end{figure}
\begin{figure}
\ContinuedFloat
\subfigure[$E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120NIM}}
\subfigure[$\delta E-E$, $E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120CAMAC}}\hfill
\subfigure[$E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120NIM}}
\subfigure[$\delta E-E$, $E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120CAMAC}}\hfill
\subfigure[$E_p=2250\;keV$]{\includegraphics[width=0.49\textwidth]{Boron2250120NIM}}
\caption[]{alsfjnv;jakf continued}
%\label{fig:CompCrosSec}
\end{figure}
\end{document}
但结果并不完美:
所以我不确定这是否会很有帮助。