Im using This answer for subfigures on StackExchange but when I use it in my paper documentation the figure appears in the refrence section!
Asked
Active
Viewed 19 times
0
figureis a float environment, and floats have a tendency to float. See https://tex.stackexchange.com/a/39020/2388 – Ulrike Fischer Feb 06 '23 at 09:51\begin{figure}[htbp]to the code from the answer – samcarter_is_at_topanswers.xyz Feb 06 '23 at 09:51[H]will usually result in a suboptimal result. With[htbp]you give latex more freedom to find a good place for your figure. – samcarter_is_at_topanswers.xyz Feb 06 '23 at 10:04htbpdid not work for me at all! – Amirreza Hashemi Feb 06 '23 at 10:10[htbp]does not work it means that the position you want the image to be in might not be a good position. Maybe the figure is too big, maybe there isn't enough space on that page... without having a minimal reproducible example it's hard to tell. – samcarter_is_at_topanswers.xyz Feb 06 '23 at 10:12