2

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].

migrated from stackoverflow.com May 3 '11 at 9:03

This question came from our site for professional and enthusiast programmers.

4

replace

\bibliographystyle{unsrt}

by

\bibliographystyle{unsrtnat}

Found the solution from here:

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

1

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

  • 1
    I think it should be \usepackage[numbers]{natbib}. – lum May 27 '15 at 13:57
1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy