how to avoid white space between sections
1,816
\FloatBarrier
flushes any pending floats at that point by issuing a \clearpage
which forces the following section head on to a new page. If you want the section headings to always start on the current page then you should not use \FloatBarrier
\documentclass{article}
\usepackage{placeins}
\begin{document}
\FloatBarrier\section{Thesis Statement}
his research is intended to explore methods for providing ....
\textbf{Thesis statement}: A framework can be leveraged to improve the channel
performance in a dynamic environment at various types of obstructing objects,
for high frequency mobile network technologies.
\begin{table}[b]
\centering
TTT
\caption{zzz}
\end{table}
%\FloatBarrier
\section{Anticipated Research Contributions}
This dissertation is guided by the desire to perform the following:
\begin{itemize}
\item ........
\end{itemize}
\end{document}
Related videos on Youtube
Author by
ray
Updated on April 08, 2020Comments
-
ray over 3 years
I have section 1 which is only half a page and section 2 following it. However, 2 started in a new page instead of starting in the bottom half of the previous page. As a result i have section 1 in the top half the page and the bottom page is blank creating a large white space. I need to move section 2 to the previous page.
The code is:
\section{section 1} ........ ....... \section{section 2} ......
\documentclass{article} \usepackage{placeins} \begin{document} \FloatBarrier\section{Thesis Statement} his research is intended to explore methods for providing .... \textbf{Thesis statement}: A framework can be leveraged to improve the channel performance in a dynamic environment at various types of obstructing objects, for high frequency mobile network technologies. \begin{table}[b] \centering TTT \caption{zzz} \end{table} \FloatBarrier\section{Anticipated Research Contributions} This dissertation is guided by the desire to perform the following: \begin{itemize} \item ........ \end{itemize} \end{document}
-
David Carlisle over 6 yearslatex presumably decided the section did not fit on the page, perhaps the first paragraph of that section is a big unbreakable unit such as a table, and headings always stay with their first paragraph. Since you have not shown any code it is impossible to guess why the page breaks are as they are, or suggest how to change code that you have not shown.
-
ray over 6 years\FloatBarrier\section{Thesis Statement} This research is intended to explore methods for providing .... \textbf{Thesis statement}: A framework can be leveraged to improve the channel performance in a dynamic environment at various types of obstructing objects, for high frequency mobile network technologies. \FloatBarrier\section{Anticipated Research Contributions} This dissertation is guided by the desire to perform the following: \begin{itemize} \item ........ \end{itemize}
-
Moriambar over 6 yearsPlease include your code in your original post by editing it!
-
Moriambar over 6 years@ray please make it a minimal working example (MWE) also I don't know the
\FloatBarrier
commands: are they specific to some class you use? -
jon over 6 years@ray -- Surely you can see that a document which contained only(!)
\section{section 1} ........ ....... \section{section 2} ......
will not cause the problem you describe. For LaTeX documents, tiny snippets of code are almost always of no value whatsoever. A good question usually --- and this certainly applies here --- is a minimal but complete.tex
file that demonstrates the problem. In effect, this means starting with\documentclass
and going to\end{document}
, but skipping out all the packages and document text that are not needed to reproduce the problem. -
jon over 6 yearsFor example, your comment suggests you are using
\FloatBarrier
, but not everyone knows that comes from theplaceins
package.... -
ray over 6 yearsThis is a thesis with multiple chapters and each chapter is in different file. Not sure what to post. Basically what I need is to get rid of white space between sections and make the following sections starts in he same pape as the previous section.
-