I have a small problem. I'm writing my PhD thesis (that's not the problem) and I want my images to be where I want them to be. I manage to do that using
\begin{figure}[H]
\end{figure}
but often the pictures goes on the next page. I really don't mind but the text is then spread out all over the page. I can fix the problem localy by adding \clearpage but I'm feeling using microsoft Word when I do so and of course when I add some text I have to change the position of the clearpage commands.
Do you know how to help me?
Thanks!
His a request to get unpleasant white space in your document it is an explicit instruction to disable the float mechanism which is there to avoid white spaces. Perhaps you want\raggedbottomrather that\flushbottomso the space comes at the end of the page, but not usingHis usually better. – David Carlisle Oct 15 '14 at 09:46needspacepackage, you can request a vertain amount of vertical space in advance. If not available, it will clear the page. For example, try\documentclass{article} \usepackage{lipsum,needspace} \begin{document} \lipsum[1-4] \needspace{1.5in} \begin{figure}[ht] \centering \rule{1in}{1in} \caption{This is my caption} \end{figure} \lipsum[5-8] \end{document}– Steven B. Segletes Oct 15 '14 at 11:31figureenvironment, and instead use a separate package, likecaptionofto set the captions. it might be necessary to pack the graphic and the caption together in aminipageif they would otherwise be separated by a page break. plus\raggedbottomas mentioned by david carlisle. – barbara beeton Oct 15 '14 at 13:14