![如何向图中添加引用,如图:2.4](https://linux22.com/image/309659/%E5%A6%82%E4%BD%95%E5%90%91%E5%9B%BE%E4%B8%AD%E6%B7%BB%E5%8A%A0%E5%BC%95%E7%94%A8%EF%BC%8C%E5%A6%82%E5%9B%BE%EF%BC%9A2.4.png)
如何在图中添加引用,如图:2.4[1] 因为我添加了\cite{b1}
标题,它会打印索引。那么在哪里添加引用,这样它就会添加到图中。
答案1
您可以在标题中添加引用。例如:
\begin{figure}[H]
\begin{mdframed}[userdefinedwidth=.9\textwidth,align=center,]
\myfloatalign
\includegraphics[width=\textwidth]{./gfx/myfigure.jpg}
\end{mdframed}
\caption[the title of the figure.]{The title of the figure \citep{author:2015}}
\end{figure}
此示例的结果是:
Figure 2.1: the title of the figure (author, 2015)
或取决于您的围兜设置
Figure 2.1: the title of the figure [1]