将多个页面上的子图设置到页面顶部?

将多个页面上的子图设置到页面顶部?

我有一个包含多张图片的图形,我想将其放在多页上。我正在使用\Continuedfloat,但是此选项将我的第二个图形放在页面中间而不是顶部。我见过 的解决方案\vspace{},但是这不允许我直接在图形末尾书写。

下面是我迄今为止得到的结果的一个示例图。

例子

有没有办法在一个更大的图形中包含 2*6 个子图,跨越 2 页,并且您可以在图形下方直接书写?

编辑

这是我目前所拥有的代码\setcounter{topnumber}{1},但它给了我相同的结果:

\begin{figure}[htb]
    \centering % <-- added
\begin{subfigure}{0.49\textwidth}
  \includegraphics[width=\linewidth]{"Plots Vth shift/D_12-09, batch_1, d_350, T_180, XV_150, I_100-500, C_1_SHIFTVthID".png}
  \caption{Batch:1, die:350-Ta, Transfer, XV:150}
  \label{fig: Batch:1, die:350-Ta, Transfer, XV:150}
\end{subfigure} % <-- added
\begin{subfigure}{0.49\textwidth}
  \includegraphics[width=\linewidth]{"Plots Vth shift/D_12-09, batch_1, d_250, T_300, XV_40, I_100-500, C_1, N_after-rest_SHIFTVthID".png}
  \caption{Batch:1, die:250-Ta, Transfer, XV:40  Rested}
  \label{fig: Batch:1, die:250-Ta, Transfer, XV:40  Rested}
\end{subfigure}% <-- added
\end{figure}
\setcounter{topnumber}{1}
\begin{figure}\ContinuedFloat
\begin{subfigure}{0.55\textwidth}
  \includegraphics[width=\linewidth]{"Plots Vth shift/D_11-09, batch_1, d_250, T_300, XV_150, I_100-500, C_1, N_before-rest_SHIFTVthID".png}
  \caption{Batch:1, die:250-Ta, Transfer, XV:150 Not Rested}
  \label{fig:Batch:1, die:250-Ta, Transfer, XV:150 Not Rested}
\end{subfigure}
\begin{subfigure}{0.55\textwidth}
  \includegraphics[width=\linewidth]{"Plots Vth shift/D_12-09, batch_3, d_250, T_300, XV_150, I_100-500, C_1_SHIFTVthID".png}
  \caption{Batch:3, die:250-SiTa,Transfer XV:150}
  \label{fig:Batch:3, die:250-SiTa, Transfer XV:150}
\end{subfigure}\\ % <-- added
\begin{subfigure}{0.55\textwidth}
  \includegraphics[width=\linewidth]{"Plots Vth shift/D_12-09, batch_4, d_250, T_300, XV_40, I_100-500, C_1_SHIFTVthID".png}
  \caption{Batch:4, die:250-TaSi, Transfer XV:40}
  \label{fig:Batch:4, die:250-TaSi, Transfer XV:40}
\end{subfigure} % <-- added
\begin{subfigure}{0.55\textwidth}
  \includegraphics[width=\linewidth]{"Plots Vth shift/D_12-09, batch_4, d_250, T_300, XV_150, I_100-500, C_1_SHIFTVthID".png}
  \caption{Batch:4, die:250-TaSi, Transfer XV:150}
  \label{fig:Batch:4, die:250-TaSi, Transfer XV:150}
\end{subfigure}
\caption{Transfer curves at different dose rates}
\label{fig: Transfer curves at different dose rates }
\end{figure}
\FloatBarrier

答案1

您的主要问题是第二个数字太宽,因此被转换为 [p] 浮点数。您可能不需要设置 topnumber,因为每页只能容纳一个浮点数。

\documentclass{article}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage{lipsum}
\usepackage{duckuments}
\begin{document}

\setcounter{topnumber}{1}
\begin{figure}[t]
    \centering
\begin{subfigure}[t]{0.49\textwidth}
  \includegraphics[width=\linewidth]{example-image-duck}
  \caption{Batch:1, die:350-Ta, Transfer, XV:150}
  \label{fig: Batch:1, die:350-Ta, Transfer, XV:150}
\end{subfigure}\hfil
\begin{subfigure}[t]{0.49\textwidth}
  \includegraphics[width=\linewidth]{example-image-duck}
  \caption{Batch:1, die:250-Ta, Transfer, XV:40  Rested}
  \label{fig: Batch:1, die:250-Ta, Transfer, XV:40  Rested}
\end{subfigure}
\end{figure}

\begin{figure}[t]
\ContinuedFloat
  \centering
\begin{subfigure}[t]{0.49\textwidth}
  \includegraphics[width=\linewidth]{example-image-duck}
  \caption{Batch:1, die:250-Ta, Transfer, XV:150 Not Rested}
  \label{fig:Batch:1, die:250-Ta, Transfer, XV:150 Not Rested}
\end{subfigure}\hfil
\begin{subfigure}[t]{0.49\textwidth}
  \includegraphics[width=\linewidth]{example-image-duck}
  \caption{Batch:3, die:250-SiTa,Transfer XV:150}
  \label{fig:Batch:3, die:250-SiTa, Transfer XV:150}
\end{subfigure}

\begin{subfigure}[t]{0.49\textwidth}
  \includegraphics[width=\linewidth]{example-image-duck}
  \caption{Batch:4, die:250-TaSi, Transfer XV:40}
  \label{fig:Batch:4, die:250-TaSi, Transfer XV:40}
\end{subfigure}\hfil
\begin{subfigure}[t]{0.49\textwidth}
  \includegraphics[width=\linewidth]{example-image-duck}
  \caption{Batch:4, die:250-TaSi, Transfer XV:150}
  \label{fig:Batch:4, die:250-TaSi, Transfer XV:150}
\end{subfigure}
\caption{Transfer curves at different dose rates}
\label{fig: Transfer curves at different dose rates }
\end{figure}

\lipsum[1-10]
\setcounter{topnumber}{2}
\end{document}

相关内容