gpt4 book ai didi

latex - latex -在图形标题中插入引用

转载 作者:行者123 更新时间:2023-12-03 10:10:31 26 4
gpt4 key购买 nike

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

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

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

有什么建议怎么做?

谢谢

最佳答案

找到的解决方案:编写\protect\cite{ref}而不是\cite{ref}
甚至更短:“{\ cite {ref}}”

关于latex - latex -在图形标题中插入引用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4487728/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com