强制将图片移至新页面

强制将图片移至新页面

有人能帮我解决这个问题吗?我试过 newpage 和 clearpage,但都不起作用。我怎样才能强制在新页面上仅显示 example-image-c 和 example-image(根本不显示)。

\begin{图*}[p] \centering

\subfloat[Text]
{\includegraphics[height=18cm, width=0.7\textwidth, keepaspectratio]{example-image-a}}
\hspace{2mm}\subfloat[Text]

{\includegraphics[height=18cm, width=0.7\textwidth, keepaspectratio]{example-image-b}}\hspace{2mm}\subfloat[Text]

{\includegraphics[height=18cm, width=0.7\textwidth, keepaspectratio]{example-image-c}}
\hspace{2mm}\subfloat[Text]

{\includegraphics[height=18cm, width=0.7\textwidth, keepaspectratio]{example-image}}
\caption[Short-Text]{Long-text}

\结束{图*}

在此处输入图片描述

答案1

每页只能有一个浮点数。这里的关键是\ContinuedFloat(标题包)。

请注意,您可以使用 4 个单独的 s 来完成此操作figure*

\documentclass[twocolumn]{article}
\usepackage{graphicx}
\usepackage{subcaption}

\begin{document}
\begin{figure*}[p]\centering
\subfloat[Text]
{\includegraphics[height=18cm, width=0.7\textwidth, keepaspectratio]{example-image-a}}

\vskip\dblfloatsep
\subfloat[Text]
{\includegraphics[height=18cm, width=0.7\textwidth, keepaspectratio]{example-image-b}}
\end{figure*}%
\begin{figure*}[p]\centering
\ContinuedFloat
\subfloat[Text]
{\includegraphics[height=18cm, width=0.7\textwidth, keepaspectratio]{example-image-c}}

\vskip\dblfloatsep
\subfloat[Text]
{\includegraphics[height=18cm, width=0.7\textwidth, keepaspectratio]{example-image}}
\caption[Short-Text]{Long-text}
\end{figure*}
\end{document}

相关内容