I am trying to have a picture positioned within the normal text flow. The problem is that it is positioned on the next page and different text is moved before it. I used \begin{figure}[h] using the [h] in the thought that it would be within the text flow. But it is not.
\begin{figure}[h]
\includegraphics[width=0.8\textwidth, center]{img/mypicture.png}
\caption{Some caption text here}
\label{myreference01}
\end{figure}
Why is the picture outside of the text flow and not within? I thought using [h] does exactly that. What must I do to force the text flow?
figureenvironment is to specify that the content is not in the main text flow. You can just use\includegraphicsdirectly. – David Carlisle Sep 03 '18 at 15:36\captionand\label/\refwould not work anymore withoutfigure. – Socrates Sep 03 '18 at 15:40\captionoffrom the (one-line:-)capt-ofpackage – David Carlisle Sep 03 '18 at 15:42floatand[H]the goal could be achieved. – Socrates Sep 03 '18 at 17:57[H](which I implemented originally:-) is logically contradictory as it takesfigurewhich does nothing other than make a floating region, and specify it should not float. I feel bad every time anyone uses it, not that that ever stopped anyone:-) – David Carlisle Sep 03 '18 at 18:05