I would like to change the position of my table so that it is not before
the title of the current section as show in my screenshot
.
Here is what I've tried so far:
\subsection{Cinétique d'oxydation des joints de grains avec teneur nominale en chrome}
La cinétique blah blah blah
d'essai.
{\renewcommand{\arraystretch}{1.2}
\begin{table}
\centering
\caption{Données utilisées pour la calibration de la cinétique d'oxydation des joints de grains présentant une teneur nominale en chrome à 320/325°C}
\resizebox{\textwidth}{!}{
\begin{tabular}{|c|c|c|c|c|}
\hline
\textbf{Repère} & \textbf{Échantillon} & \textbf{pox max (nm)} & \textbf{Température (°C)} & \textbf{Temps (h)} \\
\hline
\hline
B356 (TT 1h x 720°C) & 1816-22 & 10 & 325 & 0,16 \\
\hline
T265 & 1866-20 & 307 & 325 & 100 \\
\hline
B356 SA & 1866-187 & 847 & 320 & 1000 \\
\hline
\end{tabular}
}
\label{tab:calibrecinetique}
\end{table}}
\FloatBarrier
Sur la Figure
I have no idea why LaTeX always prints the table before
the title, as I have enough place after
(this is the beginning of the page). I've tried to use as for image the [H]
to force the positionning, and also the FloatBarrier
to force the cache of floating objects to be released (it would work if the table is printed ways after, which is not the case here).
Best Answer
float
package offers an additional placement parameter/option calledH
. If you use it then the float object (figure or table) is exactly placed where you put it in the code.flafter
package and!htb
placement parameter). Just decide from table to table (or figure and figure) what is best.