Placement of graphic in LaTeX document

17 views
Skip to first unread message

warren page

unread,
Mar 23, 2026, 12:36:34 PM (12 days ago) Mar 23
to LaTeX Users Group
 The inserted Figure 1 in my LaTeX document appears after \end{document}. How do I place Figure 1 exactly where I want in the document?

 
\begin{figure} [h]
   \centering
   \includegraphics{Figure1}
   \caption{Uility function.}
   \label{}
\end{figure}

Peter Flynn

unread,
Mar 23, 2026, 12:38:38 PM (12 days ago) Mar 23
to latexusersgroup

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to latexusersgro...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/latexusersgroup/b6c62593-9e27-478b-8c9e-49602cfadcf5n%40googlegroups.com.

Werner Grundlingh

unread,
Mar 23, 2026, 12:47:33 PM (12 days ago) Mar 23
to LaTeX Users Group
Your figure float (the image and caption together) is likely too large to fit on the page where you want it ([h]ere), or it just doesn't fit [h]ere. You need to provide LaTeX with more options to work with. So, first, try with
  \begin{figure}[htbp]
    ...
  \end{figure}
which attempt to place it [h]ere, then at the [t]op of the page, then at the [b]ottom, then on a [p]age of itself. Alternatively, if you want to influence the placement in other ways, read up more here:

Warren Page

unread,
Mar 23, 2026, 9:23:09 PM (12 days ago) Mar 23
to latexus...@googlegroups.com
Thanks, Peter. Your reference was very helpful and I’ve managed to insert the diagram where it’s needed. 
Best wishes,
Warren
Sent from my iPhone

On Mar 23, 2026, at 12:38 PM, Peter Flynn <angleb...@gmail.com> wrote:



Warren Page

unread,
Mar 23, 2026, 9:25:39 PM (12 days ago) Mar 23
to latexus...@googlegroups.com
Thanks, Werner for your helpful information. I’ve now been able to insert the diagram where I want in the document.
Best regards,
Warren
Sent from my iPhone

On Mar 23, 2026, at 12:47 PM, Werner Grundlingh <wgrun...@gmail.com> wrote:

Your figure float (the image and caption together) is likely too large to fit on the page where you want it ([h]ere), or it just doesn't fit [h]ere. You need to provide LaTeX with more options to work with. So, first, try with
--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to latexusersgro...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages