I am trying to get a caption on a figure, however when I do it using the figure environment LaTeX seems to want to put the figure wherever it wants to, even when I specify the position I want it in the [] after I enter the environment. Is there a way to get \caption{} to work outside the figure environment?
Asked
Active
Viewed 62 times
0
finlay morrison
- 197
\captionof{figure}{...}command. – Mico Feb 07 '21 at 12:45\captionof{figure}{…}(load thecaptionpackage). – Bernard Feb 07 '21 at 12:45\usepackage{float}in your preamble, and use the[H]option to force LaTeX place your figure RIGHT THERE. – Jinwen Feb 07 '21 at 12:45\captionof{figure}{..}but note the only purpose of thefigureenvironment s to specify that it is a float that may be moved. – David Carlisle Feb 07 '21 at 12:46