2015-11-02 59 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

工作!非常感謝。 –