
내 테이블 캡션 중 하나에 \cite{RN8}
캡션을 삽입했는데 테이블의 캡션이 정상적으로 표시되었습니다. 그런데 테이블 목록을 보니 그게 \cite{RN8}
label 이라는 걸 알았습니다 RN8
. 테이블 목록에 \cite{}
명령이 표시되도록 하려면 어떻게 해야 합니까?
답변1
에서 일하는 것 같습니다 BiBTeX
.
% https://tex.meta.stackexchange.com/questions/4407
\documentclass{article}
\begin{filecontents}{\jobname.bib}
@book{key,
author = {Author, A.},
year = {2001},
title = {Title},
publisher = {Publisher},
}
\end{filecontents}
\begin{document}
\listoffigures
\begin{figure}
\centering
FIGURE
\caption{Caption \cite{key}.}
\label{fig:my_label}
\end{figure}
\bibliographystyle{plain}
\bibliography{\jobname}
\end{document}
답변2
에서 일하는 것 같습니다BiBLaTeX
% https://tex.meta.stackexchange.com/questions/4407
\documentclass{article}
\usepackage[style=authoryear-comp]{biblatex}
\addbibresource{\jobname.bib}
\begin{filecontents}{\jobname.bib}
@book{key,
author = {Author, A.},
year = {2001},
title = {Title},
publisher = {Publisher},
}
\end{filecontents}
\begin{document}
\listoffigures
\begin{figure}
\centering
FIGURE
\caption{Caption \cite{key}.}
\label{fig:my_label}
\end{figure}
\printbibliography
\end{document}
업데이트
RN8
또한 키로 도 작동합니다 . 어쩌면 "캐시된 파일"(Overleaf)을 지워야 할 수도 있습니다.
% https://tex.meta.stackexchange.com/questions/4407
\documentclass{article}
\usepackage[style=authoryear-comp]{biblatex}
\addbibresource{\jobname.bib}
\begin{filecontents}{\jobname.bib}
@book{key,
author = {Author, A.},
year = {2001},
title = {Title},
publisher = {Publisher},
}
@book{RN8,
author = {Author, RN.},
year = {2001},
title = {Title},
publisher = {Publisher},
}
\end{filecontents}
\begin{document}
\listoffigures
\begin{figure}
\centering
FIGURE
\caption{Caption \cite{key, RN8}.}
\label{fig:my_label}
\end{figure}
\printbibliography
\end{document}