2015-11-02 60 views
-1

当我在LATEX的每个部分使用多个图形时,我不再能够指定分页编号在分页符后开始。我一直在努力。如果有任何LATEX向导,您的帮助将非常感谢。在页面顶部开始新的部分,而不是在数字下方

在下面引用的文件中,我正在努力的是第2节。最后的文件比这个要长得多,而且这个问题发生了好几次,但为了清晰起见,我认为我会创建一个更简单的版本,但仍然会出现问题。

zip file containing everything

\documentclass{article} 
\usepackage{graphicx} 
\usepackage{placeins} 

\widowpenalty=2000 
\clubpenalty=2000 

\begin{document} 

\section{} 


\begin{figure} [h] 
    \center 
    \includegraphics[width=12cm]{Figure} 
    \label{fig:example} 
\end{figure} 
\FloatBarrier 

My goal is to have section 2 start on a new page. 
$$\\$$ 

\begin{figure} [h] 
    \center 
    \includegraphics[width=14cm]{Figure} 
    \label{fig:example} 
\end{figure} 


\newpage 
\pagebreak [4] 
$$\\$$ 


\section{} 

\begin{figure} [h] 
    \center 
    \includegraphics[width=14cm]{Figure} 
    \label{fig:example} 
\end{figure} 


This is the body text for section 2. 


\end{document} 

Figure.jpg

+0

第2节*是*从新页面开始。但该图放置在该页面的顶部。我想你希望部分标题始终位于页面的顶部?那么我认为你需要的是迫使这些数字不要置于顶端。 – Gilles

回答

1

你试过\clearpage而不是\newpage

+0

工作!非常感谢。 –