I'm writing my PhD thesis and have been happy just to dump most of my figures at the top of their respective pages. However, my advisor really does *not* like it if that means the figure appears outside of the subsection where it is referenced.
For example, if this were a snippet of my code...
Code: Select all
\subsection{Springs}
Text about springs, see Figure \ref{fig1}.
\begin{figure}[tbp]
\includegraphics{.....}
\caption{My spring}
\label{fig1}
\end{figure}
I guess I could just change the placement to [h!] or put it at the bottom of the page, but when I'm shuffling around subsections and restructuring bits of the document, it may no longer need to go anywhere else but the top of the page.
Is there an 'automatic' way to always have the figure at the top of the page, unless that would put it outside of its subsection, in which case I'd like it at the bottom of the page? And if it's still outside of its subsection, could I then make the figure placement [h!]?
Apologies if this has already been asked. As you can see, it's my first post on this forum, and that's usually because most questions have been asked before and can be found with the answers somewhere using Google! However, I can't find the solution to this one.
Cheers very much,
Chris