Subfigs of a figure on multiple pages

前端 未结 3 1853
清酒与你
清酒与你 2020-12-24 04:50

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 n

3条回答
  •  情深已故
    2020-12-24 05:36

    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} 
    

提交回复
热议问题