BibTeX, biblatex and biber ⇒ caption and citation with natbib and caption packages
-
kmcfarlane
- Posts: 7
- Joined: Fri Jan 25, 2008 8:20 pm
caption and citation with natbib and caption packages
\usepackage[numbers]{natbib}
\usepackage[format=hang,hangindent=0pt]{caption}
.
.
.
\bibliographystyle{plainnat}
\bibliography{MS}
I have problems with citations in captions. This code works some of the time:
\begin{table}[ht]
\caption[Standard model fundamental particles]%
{Standard model fundamental particles~\protect\citep{PDG:2008}}
However, sometimes it breaks after I have edited files and gives me an 'undefined command' message pointing to that line. When it does break, I cannot 'heal' it. I have tried deleting all the aux files. Sometimes getting out of MikTeX and coming back in works.
Any ideas why this combination should be unreliable?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: caption and citation with natbib and caption packages
Axel
(*) http://www.minimalbeispiel.de/mini-en.html