
Em uma das legendas da minha tabela, inseri \cite{RN8}
a legenda e a legenda da tabela apareceu normalmente. Mas quando vi a lista de tabelas, descobri que ela \cite{RN8}
se tornou o rótulo RN8
. Como posso fazer com que a lista de tabelas mostre o \cite{}
comando?
Responder1
Parece funcionar em 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}
Responder2
Parece funcionar emBiBLaTeX
% 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}
Atualizar
Também funciona RN8
como uma chave. Talvez você precise limpar os "arquivos em cache" (no verso).
% 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}