Why, in some instances, is the text Here is some text presented before the picture.jpg in the final document, please?
\begin{figure}[h]
\centering
\includegraphics[width=...]{picture.jpg}
\caption{The best caption in the world.}
\end{figure}
Here is some text.
I have had similar problems when doing \protect\footnotemark inside the \caption{...}, when the \footnotetext{...} which is supposed to come afterwards, is presented before the image.
figureenvironoment is the automatic line-spacing after the figure. – O0123 Apr 19 '16 at 04:22centerenvironment' means. – jon Apr 19 '16 at 04:28\captionof's of course) are not centered along with the pictures. I mean: in your MWE answer they are, but when I encompassed\captionofinsidecenterenvironment in my document of purpose, they weren't ( but aligned completely left sometimes, or a little to the left) ... I'll find the bug, I hope. Another bug (in my document of purpose) is that thecenterenvironment shifts some pictures to the right. – O0123 Apr 19 '16 at 04:32centerenvironment, just make a copy of your file, comment out all the text except for one or two paragraphs on either side of thecenterenvironment, and try to compile that. Then comment out packages that are clearly not related to uncommented text; then try to comment out the ones that probably aren't related; then try to comment out some more; etc., etc. – jon Apr 19 '16 at 04:51\abstract{...}(near the top of the document) fixes the issue of having horizontally shifted images almost all the way at the bottom of the document. – O0123 Apr 19 '16 at 05:02capt-ofand another captioning package (in case you choose to explore further). – jon Apr 19 '16 at 05:16\usepackage[section]{placeins}to stop floating. But, an issue I am having is that some (I'm usinghyperref) footnotes don't link back to the original footnote-placing (inside an image's caption), but rather multiple pages early. EDIT: Now, some footnotes don't appear at all ... – O0123 Apr 19 '16 at 05:21\phantomsectionbefore the\footnotemark, I guess. But I really must stress that claiming 'phenomenon X happens' without the code that produces the effect is asking others to pull out crystal balls and call on the spirits to try to divine why X is happening. These are all legitimate questions, but you need to ask them with a MWE. – jon Apr 19 '16 at 17:30