I am new with respect to using TeXstudio and I have just written my article in TeXstudio, but I cannot get the citations right(?)
I use the natbib in \usepackage in the preamble, it is stated before \begin{document} and I have specified \bibliography {plain} in the end. I have made a separate database with my references as .bib file.
My problem is that when I use \citet{key} I get (author?) and when I use \citep{key} I get the numerical number for the reference.
I would very much appreciate if somebody can help me on this so the references are cited correct in my article.
bibtexwhich fetches the cited references from your .bib file. Texstudio has a menu item for that or you can just hit the F11 key on your keyboard. To get your references you should at compile first with pdflatex, then with bibtex and then again twice with pdflatex. Does that help? – Benedikt Bauer Dec 02 '13 at 12:40