subfloat插入多个子图如何处理跨页

发布于 2021-03-26 16:45:26

如图所示,因为一个标题中的子图太多,但是无法跨页,导致遮住了页码,请问如何处理,谢谢!
c52a629f5b8f668375545b333ca9dd46.png

`\begin{figure*}[htp]
\centering
\subfloat[解集]{
\parbox{\textwidth}{
    \centering
        \includegraphics[width=0.31\textwidth]{a.eps}\hskip0.01cm
        \includegraphics[width=0.32\textwidth]{a.eps}\\
        \includegraphics[width=0.32\textwidth]{a.eps}\hskip0.01cm
        \includegraphics[width=0.32\textwidth]{a.eps}\hskip0.01cm
        \includegraphics[width=0.32\textwidth]{a.eps}
        \label{fig:C3DTLZ7M15}
    }
   }

\centering
\subfloat[解集]{
\parbox{\textwidth}{
    \centering
        \includegraphics[width=0.31\textwidth]{a.eps}\hskip0.01cm
        \includegraphics[width=0.32\textwidth]{a.eps}\\
        \includegraphics[width=0.32\textwidth]{a.eps}\hskip0.01cm
        \includegraphics[width=0.32\textwidth]{a.eps}\hskip0.01cm
        \includegraphics[width=0.32\textwidth]{a.eps}
        \label{fig:C3DTLZ7M15}
    }
   }
\centering
\subfloat[解集]{
\parbox{\textwidth}{
    \centering
        \includegraphics[width=0.31\textwidth]{a.eps}\hskip0.01cm
        \includegraphics[width=0.32\textwidth]{a.eps}\\
        \includegraphics[width=0.32\textwidth]{a.eps}\hskip0.01cm
        \includegraphics[width=0.32\textwidth]{a.eps}\hskip0.01cm
        \includegraphics[width=0.32\textwidth]{a.eps}
        \label{fig:C3DTLZ7M15}
    }
   }                
    ~\\~\\
    \setlength{\abovecaptionskip}{0.35cm}
    \caption{解集}
    \label{fig:C3DTLZ57}
\end{figure*}
`

查看更多

关注者
0
被浏览
2.2k
2 个回答
啸行
啸行 2021-03-26

同一个浮动体内的内容不能跨页,所以将它们拆分到不同浮动体里就好了,例如

\documentclass{article}
\usepackage{keyfloat}
\usepackage{mwe}

\begin{document}

\begin{keysubfigs}{3}{c={A set of subfloats which are continuous in different figure environments},l={fig:continuous}}
    \keyfig{lw=1,c={subfig 1},l={subfig:1}}{example-image-a}
    \keyfig{lw=1,c={subfig 2},l={subfig:2}}{example-image-a}
    \keyfig{lw=1,c={subfig 3},l={subfig:3}}{example-image-a}
\end{keysubfigs}
\begin{keysubfigs}{3}{c={\dots continued},cont}
    \keyfig{lw=1,c={subfig 4},l={subfig:4}}{example-image-b}
    \keyfig{lw=1,c={subfig 5},l={subfig:5}}{example-image-b}
    \keyfig{lw=1,c={subfig 6},l={subfig:6}}{example-image-b}
\end{keysubfigs}
\begin{keysubfigs}{3}{c={\dots continued},cont}
    \keyfig{lw=1,c={subfig 7},l={subfig:7}}{example-image-c}
    \keyfig{lw=1,c={subfig 8},l={subfig:8}}{example-image-c}
    \keyfig{lw=1,c={subfig 9},l={subfig:9}}{example-image-c}
\end{keysubfigs}

\end{document}

结果是
image.png

texdoc subfig

\documentclass{article}
\usepackage{subfig,mwe}
\begin{document}
  \begin{figure}
    \centering
    \subfloat[]{
      \includegraphics{example-image.pdf}
    }
  \end{figure}
  \clearpage
  \begin{figure}
    \centering
    \ContinuedFloat
    \subfloat[]{
      \includegraphics{example-image.pdf}
    }
  \end{figure}
\end{document}

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览