I am using a home-made thesis template available here. The example is using plain bibliography style, I need apa though. After writing a few pages of introduction and changing the style, I get the following errors (one per cit

! Undefined control sequence.
<argument> \protect \astroncite 
l.3 ...m[\protect\astroncite{Akelof}{2003}]{ake03}

! Undefined control sequence.
<argument> \protect \astroncite 
                                {Akerlof and Shiller}{2009}
l.9 ...ncite{Akerlof and Shiller}{2009}]{akeshi09}

! Undefined control sequence.
<argument> \protect \astroncite 
                                {Baker and Wurgler}{2006}
l.14 ...ncite{Baker and Wurgler}{2006}]{Baker2006}


How can I figure out what is wrong? Apa style works in all other documents, so I guess there must be something wrong with this style file...

  • Does this question help you BibTeX compilation is corrupting myfiles (found purely because of the use of \astroncite)?
    – moewe
    Commented Sep 23, 2013 at 16:26
  • If David Carlisle's advice does not help, a MWE would be very much appreciated.
    – moewe
    Commented Sep 23, 2013 at 16:29
  • Your bibtex style is assuming a matching latex style that defines some additional commands adding \newcommand\astroncite[2]{???} to your document preamble will probably get you going again, but you'd need to define it more appropriately (or find the original intended definition) (updated comment as I misread the structure in the error message originally) Commented Sep 23, 2013 at 16:38
  • @DavidCarlisle, could you expand your comment a bit? What file should I be looking for? I could try to adapt the apa files from one of the standard document styles...
    – Grzenio
    Commented Sep 23, 2013 at 19:38
  • @Grzenio I don't know, I'm just going by the form of the error messgae you showed Commented Sep 23, 2013 at 19:46

1 Answer 1


Schoolboy error: I forgot to include \usepackage{natbib} in the document.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .