乳胶-在图形标题中插入参考 [英] Latex - Inserting a reference in a figure's caption

查看:96
本文介绍了乳胶-在图形标题中插入参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Latex中,我想在图形的图例中添加引用,例如:

In Latex, I want to add a reference in the legend of a figure, like:

\begin{figure}
   ...
   \caption{This is the legend of this figure (reprinted from \cite{something}).}
   ...
\end{figure}

,但不允许将引用放在标题中,而只能在文本中. 我的参考书目正在文字的其他任何地方工作.

but the citation is not allowed to be placed in the the caption, only in the text. My bibliography is working on any other places of the text.

任何建议如何做到这一点?

Any suggestions how to do this?

谢谢

推荐答案

找到解决方案:写\protect\cite{ref}而不是\cite{ref}

Solution found: write \protect\cite{ref} instead of just \cite{ref}

或更短:"{\ cite {ref}}"

Or even shorter: '{\cite{ref}}'

这篇关于乳胶-在图形标题中插入参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆