[英]Latex - Inserting a reference in a figure's caption
在Latex中,我想在圖形的圖例中添加一個引用,如:
\begin{figure}
...
\caption{This is the legend of this figure (reprinted from \cite{something}).}
...
\end{figure}
但引文不允許放在標題中,僅在文本中。 我的參考書目正在研究文本的任何其他地方。
有什么建議怎么做?
謝謝
找到解決方案:寫\\protect\\cite{ref}
而不只是\\cite{ref}
甚至更短:'{\\ cite {ref}}'
由於接受的答案似乎相當hacky (並且對我不起作用),我將發布我的解決方案:
\begin{figure}
...
\caption[Cap for listoffigures]{Cap below figure with cite \cite{source}}
...
\end{figure}
這編譯沒有錯誤和警告。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.