I have an image I would like to don with a citation. However, placing the citation on top of the image has proven to be a bit of a challenge. Simply placing the citation after the image with
\includegraphics[width=0.8\textwidth]{image.jpg}\cite{source[1]}
produces the following result:
As you can see, the citation appears outside of the image, which is not surprising. Using
\includegraphics[width=0.8\textwidth]{image.jpg}\hspace{-1em}\cite{source}
moves the citation on top of the image horizontally:
In the last image, it an be seen that the citation is still partly outside of the image, so I attempted the following:
\includegraphics[width=0.8\textwidth]{image.jpg}\vspace{-0.5em}\hspace{-1em}\cite{source}
However, this changes nothing:
Why is this, and how could I apply \vspace
and \hspace
simultaneously to a citation, in order to properly place it on top of an image? I also accept more elegant solutions.