I have a figure with includegraphics. I'm trying to inset some text ON TOP of the figure, either with absolute positioning to the page, or ideally, relative to some corner of the figure. But in any case, it needs to go on top, not next to or below.
Maybe I'm searching for the wrong thing, but everything I've tried so far results in text to the side.
For example,
Note that I used a minipage environment to keep the text and the figure together. I used the demo option for graphicx to make my code compilable for everyone; don't forget to delete it in your actual code.
Yes, it is possible and you can do it in sveral ways; one possibility would be to use the textpos package that allows you to add material in absolute positions on the page.
Edit: another option could be the overpic package.