Everytime I set a table's position to [H], an error appears saying "A <box>
was supposed to be here". The table fits the page and everything appears to be fine, except for the errors. If I change the position of the table the error disappeares but I want the table exactly at that place.
My table code is like this:
\begin{table}[H]
\centering
\caption{Types of accounts and their permissions}
\label{table:accounts}
\begin{tabularx}{\textwidth}{|X|X|X|}
%content
\end{tabularx}
\end{table}
[H]
, rather learn to use floats correctly.\FloatBarrier
from the placeins package works just fine and the box error disappears. It is explained here [tex.stackexchange.com/a/19767/139067][!h]
it usually generates a warning that it is being changed. better to use[htp]