![使用 \section 仅在一种情况下导致分页符](https://linux22.com/image/408939/%E4%BD%BF%E7%94%A8%20%5Csection%20%E4%BB%85%E5%9C%A8%E4%B8%80%E7%A7%8D%E6%83%85%E5%86%B5%E4%B8%8B%E5%AF%BC%E8%87%B4%E5%88%86%E9%A1%B5%E7%AC%A6.png)
我正在使用 Overleaf 撰写手稿。只有一种情况,当我使用 时\section{}
,该部分从下一页开始。当我将其更改为 时\subsection{}
,它从它应该在的位置开始。这种情况只发生在一种情况下,手稿其他部分的 其余部分\section{}
正常工作。在图片中,你可以看到差异。
以下是我的代码的部分内容:
\begin{figure}[h]
\centering
\includegraphics[width=0.95\linewidth]{picture/Chapter-3/T-flowchart.pdf}
\caption{ Overview of the inputs and outputs of the thermal model.
\label{fig:T-flowchart}}
\end{figure}
\cref{fig:T-flowchart} demonstrates a graphical summary of the inputs and outputs of the thermal model. The outputs define the heat transfer coefficients of the PV module and the temperature of each module component base don the ambient conditions, material properties, geometry, and heat sources derived from electrical and optical models.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Coupling of the models} \label{Coupling of models}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Coupling of models to determine the electrical properties and heat sources under defined test conditions (DTC)} \label{Coupling of models to determine the electrical properties and heat sources under STC}
text text
答案1
您没有属于此部分的任何文本,因此 LaTeX 会等待下一个可能的分页符,无法将所有即将到来的代码放入页面的剩余部分。尝试添加一个字母或空格,\
它应该会将其放在您想要的位置。