[Tex/LaTex] Pagebreak, newpage, vspace all not working after a Table

page-breakingtables

I have a section of my document composed of two tables. The following section is a section composed of figures. Between the two sections I want a page break. I have tried \pagebreak, \newpage, \vspace and they all do not seem to do anything. All these commands have been used in other parts of the document just fine. I think it has something to do with the fact that my second table is so long that it is "bumped" to the next page.

Does anyone have any suggestions for fixes? Any help is appreciated. I am new to Latex so apologies if it is a silly question.

The code is here:

\section*{Tables}

\begin{table}[ht]
\caption{Some table} % title of Table
\centering
\begin{tabular}{ C{2.5cm}} 
\textit{m} \\ [0.5ex] 
0 \\
1 \\ % inserting body of the table
2 \\ [1ex] 
\end{tabular} \label{table:nonlin} \end{table}

\begin{table}[ht]
\caption{Some Table 2} % title of Table
\centering % used for centering table
\begin{tabular}{ C{2.5cm} } 
\textit{m} \\ [0.5ex] 
0 \\ 1 \\ 2 \\ 3  \\ 4 \\ 5\\6 \\7 \\8 \\9 \\10 \\11 \\12 \\13 \\14 \\15 \\16 \\17 \\18 \\19 \\20\\ 
[1ex]
\end{tabular}
\label{table:inv_case1} 
\end{table}

\newpage %HERE IS WHERE I TRY NEWPAGE, VSPACE, PAGE BREAK. NOTHING WORKS

\section*{Figures}

\begin{figure}[H] % Example image
\caption{Some figure}
\label{fig:case1_mod}
\end{figure}

Best Answer

\clearpage will force a page break and flush any pending figures, as shown below.

enter image description here

\documentclass{article}

\usepackage{array,float}
\newcolumntype{C}{p}

\begin{document}
\section*{Tables}

\begin{table}[ht]
\caption{Some table} % title of Table
\centering
\begin{tabular}{ C{2.5cm}} 
\textit{m} \\ [0.5ex] 
0 \\
1 \\ % inserting body of the table
2 \\ [1ex] 
\end{tabular} \label{table:nonlin} \end{table}

\begin{table}[ht]
\caption{Some Table 2} % title of Table
\centering % used for centering table
\begin{tabular}{ C{2.5cm} } 
\textit{m} \\ [0.5ex] 
0 \\ 1 \\ 2 \\ 3  \\ 4 \\ 5\\6 \\7 \\8 \\9 \\10 \\11 \\12 \\13 \\14 \\15 \\16 \\17 \\18 \\19 \\20\\ 
[1ex]
\end{tabular}
\label{table:inv_case1} 
\end{table}

%\newpage %HERE IS WHERE I TRY NEWPAGE, VSPACE, PAGE BREAK. NOTHING WORKS
\clearpage

\section*{Figures}

\begin{figure}[H] % Example image
\caption{Some figure}
\label{fig:case1_mod}
\end{figure}

\end{document}
Related Question