I'd like to include a graphic/table to my .tex-doc. My code looks like this:
\begin{table}[h]
\caption[text]{some more text}
\begin{tabular}{l|l|l}
text & text & text
\end{tabular}
\end{table}
But this table is not where I want it to be. It depends on how much space on the current page is left. Sometimes it's right and sometimes its the hell where. If there is not enough space left, i'd like to have it directly on the next page, but it is not even in the right section but in one of the following sections. I have the same issue with some pictures which I include with
\usepackage{graphicx}
...
\begin{figure}
\includegraphics[width=1\textwidth]{plot.png}
\caption[text]{some more text}
\end{figure}
can someone help me?
thanks and have a good day