\usepackage[numbers,square,sort]{natbib}
..but I still see:
"Aldous and Fill (200X); Dembo et al. (2004)"
...instead of [1,2], which is what I want.
Here is an example .tex file:
Code: Select all
\documentclass{article}
\usepackage[numbers,square,sort]{natbib}
\begin{document}
\title{Natbib doesn't work}
\section*{0 Introduction}
See for instance \cite{DemboPeresEtAl-CoverTimesforBMandRWin2D,aldous-fill:book}.
\bibliographystyle{plainnat}
\bibliography{bibliography}
\end{document}
Code: Select all
@Book{ aldous-fill:book,
Author = "David J. Aldous and James A. Fill",
Title = "{Reversible {M}arkov Chains and Random Walks on Graphs}",
Publisher = "Book in preparation, \texttt{http://www.stat.berkeley.edu/\char126aldous/RWG/book.html}",
Year = "200X"
}
@Article{ DemboPeresEtAl-CoverTimesforBMandRWin2D,
author = "Amir Dembo and Yuval Peres and Jay Rosen and Ofer Zeitouni",
title = "{Cover times for Brownian motion and random walks in two dimensions.}",
year = "2004",
doi = "10.4007/annals.2004.160.433"
}