I've a text inserted into a quoting section, set as flushright.
I'm trying to add a figure under the text, but it seems not to be able to stay aligned to the right part of the text.
Here it is an example of my code, I'm using the \usepackage[export]{adjustbox} package.
\begin{quotation} \begin{flushright} \textit{ When the men on the chessboard\\ get up and tell you where to go\\ } \par \begin{figure}[h] \includegraphics[width=3cm, keepaspectratio, right]{img/alice.jpg} \end{figure} \par\end{flushright} \end{quotation} Here it is a screenshot of what is the result, but I'd like to have the figure's right side aligned with the text on the right. Some help?
Thanks in advance! Dario

\includegraphicsremove the\begin{figure}..\end{figure}and the image will then be flush rightrightkey do anything? the standard\includegraphicscommand does not have a key of that name (so it would generate an error)