多页上图形的子图 [英] Subfigs of a figure on multiple pages
问题描述
我面临着堆积很多数字的问题
I am facing problem of stacking many figures
问题是堆栈图形垂直覆盖页面尺寸并将所有图形放置在一页中,并且在达到页面限制时不会更改页面.
The problem is the stack figure is overriding the page dimension vertically and placing all the figure in one page and not changing the page as the limitation of page is reached.
堆叠所有图形时如何更改页面.
How can page be changed while stacking all the figures.
\usepackage{subfig}
\usepackage{float}
\begin{figure}[hp]
\centering
\subfloat[Fig1]{\label{fig:1}\includegraphics[width=0.48\textwidth]{fig1}}
\subfloat[Fig2]{\label{fig:2}\includegraphics[width=0.48\textwidth]{fig2}}
\subfloat[Fig3]{\label{fig:3}\includegraphics[width=0.48\textwidth]{fig3}}
\subfloat[Fig4]{\label{fig:4}\includegraphics[width=0.48\textwidth]{fig4}}
\subfloat[Fig5]{\label{fig:5}\includegraphics[width=0.48\textwidth]{fig5}}
\subfloat[Fig6]{\label{fig:6}\includegraphics[width=0.48\textwidth]{fig6}}
\caption{........}
\label{..........}
\end{figure}
非常感谢您的帮助.
推荐答案
\begin{figure}
... \end{figure}
中的所有内容都不得大于单个页面.为了将其分页,您必须手动进行操作.使用subfig
包中的\ContinuedFloat
来执行此操作:(摘自 subfig文档,第§节2.2.3)
Everything inside \begin{figure}
...\end{figure}
must not be larger than a single page. In order to break it over pages, you must do it manually. Use \ContinuedFloat
from the subfig
package to do this: (from the subfig documentation, §2.2.3)
\begin{figure}
\centering
\subfloat[][]{...figure code...}%
\qquad
\subfloat[][]{...figure code...}
\caption{Here are the first two figures of a continued figure.}
\label{fig:cont}
\end{figure}
\begin{figure}
\ContinuedFloat
\centering
\subfloat[][]{...figure code...}%
\qquad
\subfloat[][]{...figure code...}
\caption[]{Here are the last two figures of a continued figure.}
\label{fig:cont}
\end{figure}
这篇关于多页上图形的子图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!