1

I use

\usepackage[sort,comma,authoryear,round]{natbib}
\bibliographystyle{apacite}
\bibliography{xxx}

When LaTeX produces my bibliography it also outputs the reference identifier..

This is what I have in my .bib file.

enter image description here

And this is what is printed in my PDF.

enter image description here

Why is the reference identifier printed in the PDF?

  • 1
    Welcome to TeX.se! For future questions, it's helpful to add a compilable sample document rather than code fragments, and instead of posting images of your .bib file, posting the actual .bib entry also as code. You can format code by selecting it and clicking on the {} icon. – Alan Munn May 13 at 17:02
1

The apacite package must be loaded to use the apacite bibliography style. You can use natbib citation commands by adding the natbibapa package option, but remove your \usepackage[...]{natbib} line from the preamble when you do.

So you need:

\usepackage[natbibapa]{apacite}
\bibliographystyle{apacite}

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.