I would like to cite something so that it comes up as

Something important has been shown (author, 2000; 2006).

Although, I do not care about the separator between 2000 and 2006 (the semicolon was just used as an example).

When I compile my document, I get

Something important has been shown (author, 2000, 0).

Citation1 is an article (published in 2000) and citation2 is a book (published in 2006).

The code I currently use looks approximately like this:

  title={Making war and building peace: United Nations peace operations},
  author={Doyle, Michael W and Sambanis, Nicholas},
  publisher={Princeton University Press}

  title={International peacebuilding: A theoretical and quantitative analysis},
  author={Doyle, Michael W and Sambanis, Nicholas},
  journal={American political science review},
  publisher={Cambridge University Press}

\usepackage{graphicx, floatpag, caption}


Something important has been shown \citep{citation1, citation2}.

  • Can you please share the .bib entries with us and extend the code in the question here such that it loads the .bib file and a bibliography style. The following naive extension of your code show the expected output "(Smith, 2000, 2006)" for me gist.github.com/moewew/3387d93db36e34327173d41e87aa6c7d, so there must be something else going on at your end. – moewe Mar 9 at 5:53
  • 1
    Don't use the apalike bibliography style with apacite. You must use the apacite bibliography style with it. – Alan Munn Mar 9 at 16:15
  • That suggestion fixed it. If you post it, I can accept it as the right answer. – Tea Tree Mar 9 at 17:49
  • Alan has already given the answer and it has nothing to do with the issue at hand, but \bibliography takes the file name without extension, so \bibliography{bibliography.bib} should be \bibliography{bibliography}. Strictly speaking \bibliography{bibliography.bib} is a syntax error, but some TeX systems are more lenient and still accept it (my MikTeX isn't and throws an error: I couldn't open database file bibliography.bib.bib). Note also that the .bib files in the MWE don't match (\begin{filecontents}{mybib.bib} but \bibliography{bibliography.bib}). – moewe Mar 9 at 18:42

The apacite package can only be used with the apacite bibliography style, and you are loading the apalike style, so to fix your problem you need to use:


As moewe notes in the comments, the syntax of the \bibliography command requires a .bib file name without the .bib extension, and you're just lucky if this works. So if your .bib file is named mybib.bib you should use:

| improve this answer | |

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.