我想在下一页的顶部放置一个图。
\blindtext \blindtext \blindtext
\begin{figure}[htbf]
\centering
\includegraphics[width=0.9\textwidth]{C:/Thesis/Latex/thesis_1(1)/Figures/studyArea.jpg}
\rule{35em}{0.3pt}
\caption{The Grand St. Bernard wireless sensor network deployment (a) the coordinates of nodes according to the Swiss coordinate system (b) the distribution of the nodes in the study site \citep{r33}}
\label{fig:study area}
\end{figure}
\FloatBarrier
\blindtext
答案1
如果你想绝对确定这个数字将被放置在顶部下一个页面(可能与检测到指令的页面顶部相反\begin{figure}
),您应该使用该afterpage
包及其\afterpage
命令:
\documentclass{article}
\usepackage{afterpage,natbib,lipsum}
\usepackage[demo]{graphicx}
\begin{document}
\lipsum[1-3]
\afterpage{%
\begin{figure}[t!] % use "t!" to force the float to start the float at top of page
\centering
\includegraphics[width=0.9\textwidth]{C:/Thesis/Latex/thesis_1(1)/Figures/studyArea.jpg}
\rule{35em}{0.3pt}
\caption{The Grand St.~Bernard wireless sensor network deployment
(a) the coordinates of nodes according to the Swiss coordinate system
(b) the distribution of the nodes in the study site \citep{r33}}
\label{fig:studyarea} % better not to have a space in the "label"
\end{figure}
} % end of "afterpage" group
\lipsum[4-6]
\end{document}
附录:假设您希望在图形和标题之间绘制的线应该跨越整个文本块的宽度,我建议使用命令\rule{\textwidth}{0.3pt}
而不是\rule{35em}{0.3pt}
。