3

While I use \citet{Titterington} and I use \bibliographystyle{unsrt} which all websites say is supposed to produce a citation in the main body like Titterington[1], for me produces a citation in the main body that looks like (author?)[1].

lockstep
  • 250,273

3 Answers3

10

replace

\bibliographystyle{unsrt}

by

\bibliographystyle{unsrtnat}

Found the solution from here:

http://www.latex-community.org/forum/viewtopic.php?f=5&t=7950

ZYSTEEL
  • 111
3

I did follow ZYSTEEL's answer but my problem was that every \cite{smith90} produced a text citation

Smith et al 1990

in my paper. As I wanted a text citation only when calling \citet{smith90}, I found that declaring \usepackage[numbers]{natbib} solved the problem for me. It was suggested in Herbert's answer, but it wasn't clear enough in my opinion.

moewe
  • 175,683
1

I suppose you are using natbib. Use \usepackage[numbers]{natbib}. If it doesn't help, create a complete example.

F1iX
  • 358