After my table i put an new page command. But in the pdf format I can see that this doesn't happen. The command makes that the table on a different page stands with the section 'Stedelijke afwatering'. But the table doesn't need to jump to a new page. Can someone help me out?
\begin{table}[ht!]
\setlength\extrarowheight{3pt} % accommodate the \frac terms in column 3
\centering
\begin{tabular}{@{} l d{4.0} C c d{3.1} c @{}}
\toprule
Buis & \mc{Lengte} & \mc{Debiet} & Diameter & \mc{Handelsmaat} & Drukverval \\
& & & & \mc{diameter} \\
& \mc{(m)} & \mc{(m\textsuperscript{3}/h)} & (mm) & \mc{(mm)} & (m) \\
\midrule
A-R &2360 & 1242,50 & 548,81 & 570 & 0,063\\
A-B & 50 & \frac{3479}{6} & 374,91 & 407 & 0,002\\
A-M & 200 & 124,25 & 173,55 & 180,8 & 0,017\\
A-I & 750 & \frac{5467}{12} & 332,32 & 361,8 & 0,032\\
B-C & 150 & \frac{994}{3} & 283,40 & 285 & 0,008\\
B-H & 425 & \frac{497}{3} & 200,40 & 203,4 & 0,032\\
C-D & 250 & \frac{2485}{12} & 224,05 & 226,2 & 0,017\\
C-G & 425 & \frac{497}{12} & 100,20 & 113 & 0,058\\
D-E & 700 & \frac{497}{6} & 141,70 & 144,6 & 0,034\\
D-F & 500 & \frac{497}{12} & 100,20 & 113 & 0,068\\
F-G & 275 & \frac{497}{12} & 100,20 & 113 & 0,037\\
G-H & 325 & \frac{497}{6} & 141,70 & 144,6 & 0,034\\
I-J & 325 & \frac{994}{3} & 283,40 & 285 & 0,017\\
I-L & 150 & \frac{497}{12} & 100,20 & 113 & 0,020\\
J-K & 300 & \frac{497}{3} & 200,40 & 203,4 & 0,023\\
J-O & 200 & \frac{497}{6} & 141,70 & 144,6 & 0,021\\
K-N & 200 & \frac{497}{6} & 141,70 & 144,6 & 0,021\\
L-M & 750 & \frac{497}{12} & 100,20 & 113 & 0,101\\
\bottomrule
\end{tabular}
\caption{De maten van de buizen in het distributiesysteem}
\label{table:distributiesysteem}
\end{table}
\newpage
\section{Stedelijke afwatering}
\label{Stedelijk afwatering}
'put in text
\clearpageinstead of\newpage. – lukeflo Sep 27 '23 at 10:26\newpagewill force a page break before the section, it will not affect the table as you use thetableenvironment toallow it to float past the page break. – David Carlisle Sep 27 '23 at 10:44\clearpagework? Normally its exactly the purpose of this command to ship out all remaining floats before adding the pagebreak. But, as said, you could have altered that definition in your praeambel (maybe without recognising it). – lukeflo Sep 27 '23 at 12:23Hposition specifier to force the table to be where it is located in the .tex file. This requires\usepackage{float}. – C. Aknesil Sep 27 '23 at 12:56