\begin{figure}[H] \centering \includegraphics[widt...

생성일: 2025년 5월 25일

답변에 사용된 모델 O3 by Chat01

질문

\begin{figure}[H]
\centering
\includegraphics[width=0.7\textwidth]{figures/EventH-CauchyH.png}
\caption{在磁荷g=gextg=g_{ext}下,内外视界的合并(该图引用自\cite{rodriguesBardeenRegularBlack2018})}\label{fig:EventH-CauchyH}
\end{figure}


如何让caption的参考文献不出现在图目录?

사고

Addressing LaTeX figure citation issue

The user is asking how to prevent a citation from appearing in the list of figures (LOF) in LaTeX. The solution involves using the optional argument in the \caption command to control what appears in the LOF. You can provide a short caption for the LOF and place the citation in the full caption. For example:

\caption[Short caption]{Full caption text \cite{...}}

This way, the citation will appear in the caption but not in the LOF.

Thought for 20 seconds

답변

\caption 命令里加一个可选参数即可。
LaTeX 会把 \caption 的可选参数写进 .lof 文件(图目录),而正文里的参数只出现在正文。把引用放在正文参数里,就不会跑进图目录了:

latex
\begin{figure}[H] \centering \includegraphics[width=0.7\textwidth]{figures/EventH-CauchyH.png} % ① 先给图目录用的简短标题(不含引用) % ② 再给正文用的完整标题(含引用) \caption[在磁荷 $g=g_{\mathrm{ext}}$ 下,内外视界的合并]% {在磁荷 $g=g_{\mathrm{ext}}$ 下,内外视界的合并(该图引用自 \cite{rodriguesBardeenRegularBlack2018}} \label{fig:EventH-CauchyH} \end{figure}

如果你已经使用 caption 宏包

caption 宏包还提供了更灵活的写法,可以只改“图目录”那一项:

latex
\begin{figure}[H] \centering \includegraphics[width=0.7\textwidth]{figures/EventH-CauchyH.png} \captionsetup{list=在磁荷 $g=g_{\mathrm{ext}}$ 下,内外视界的合并}% 只对下一条 caption 生效 \caption{在磁荷 $g=g_{\mathrm{ext}}$ 下,内外视界的合并(该图引用自 \cite{rodriguesBardeenRegularBlack2018}} \label{fig:EventH-CauchyH} \end{figure}
  • list=<文本> 替换图目录里的标题
  • 若要完全让这张图不进入图目录,改成 list=no

小结

  • 最简单:用 \caption[短标题]{长标题},把 \cite 写到长标题里。
  • 更多控制(已加载 caption 宏包):用 \captionsetup{list=…}{list=no}

이 Q&A 공유하기