I am having problems with my overleaf document. I am trying to fit pictures and a stargazer table, but they appear in the wrong position.
My current code is as follows:
\begin{table}[!htbp]\centering
\begin{tabular}{@{\extracolsep{5pt}}lc}
\tiny
(table here)
\end{tabular}
\end{table}
\begin{center}[!htbp]
\includegraphics[width=1\textwidth]{picture.png}
\end{center}
tableenvironment is to allow the table to move, so if the first one moves that is by design.centerdoes not have an optional argument so presumably\begin{center}[!htbp]sets the text[!htbp]in the middle of the page. the picture will then be set following that. – David Carlisle Jan 17 '22 at 18:27