In review articles it often happens that a figure is taken from another document which is mentioned in the \caption
by a \cite
macro. If such a caption preceeds the first occurence of the corresponding \cite
in the text, the number is increased when the caption is processed by TeX. Since the reader does not read the caption first, but will proceed with the main text until the next paragraph or headline, the numbering in the text has a gap.
Thus, I would like to reference an entry in the bibliography without creating it. a simple \ref
does not work. Any ideas?
Update: The following exmaple produces the desired numbering in the text, but no citation in the caption. As soon as I use the comment version in the \caption
, the numbering is not as I want it. (Don'T forget to re-run bibtex while testing).
\begin{filecontents}{./mybib.bib}
@misc{foo,
author={Foo},
title={Foo},
}
@misc{bar,
author={Bar},
title={Bar},
}
@misc{baz,
author={Baz},
title={Baz},
}
\end{filecontents}
\documentclass{article}
\usepackage[super]{natbib}
\bibliographystyle{unsrtnat}
\begin{document}
\begin{figure}
\caption{Taken from Foo\ref{foo}}
% \caption{Taken from Foo\cite{foo}}
\label{fig:foo}
\end{figure}
Bar\cite{bar} and baz\cite{baz} have done some fascinating research,
which is best summarized as shown in Figure~\ref{fig:foo} (originally
by Foo\cite{foo}).
\bibliography{./mybib}
\end{document}
\cite
in the\caption
, it changes. (Again, re-run bibtex).