I am writing my thesis and need to do this with apa citation style.

I used the following code in my main document:


and in the end of my main document..


However I always get this error:

"Undefined control sequence. \printbibliography[heading=bibintoc,[title={References}]"

Furthermore in my references table, I get (yearmonthday) instead of (2015)e.g. and the references are not alphabetically sorted.

  • 2
    You need a \DeclareLanguageMapping for your language (i.e. the language set as main language in babel: \DeclareLangugaMapping{american}{american-apa}), see problems using apa6e with biblatex-apa. – moewe Jan 29 '17 at 18:14
  • 2
    Also, you have an additional opening square bracket in the argument of \printbibliography. Presumably, you want \printbibliography[heading=bibintoc,title=References] The curly brackets around References are fine, but the opening square bracket before title is not. @moewe Should csquotes be loaded before biblatex? I always load it first, but I don't know if that's required. – cfr Jan 29 '17 at 19:24
  • Thanks a lot. However, both explanations are not the reason :( – Johanna Jan 29 '17 at 19:38
  • While I use \printbibliography without an option, your heading seems to be not support. Biblatex supports Bibliopgraphy and shorthands See sec 3.7.2 in the biblatex manual (on ctan) @cfr I load csquotes after biblatex, but supply the babel package as input – Christoph S Jan 29 '17 at 19:43
  • 2
    Loading order doesn't matter, I see. – cfr Jan 29 '17 at 19:54

There are several things you have to check for when using biblatex. Some of them were already outlined in the comments.
The \printbibliography should look like \printbibliography[heading=bibintoc,title=References]
To start, here Is a functioning example from my template I use:

\DeclareLanguageMapping{american}{american-apa} %Literaturverzeichnis american-apa style

It appears to me that you have a bracket closed too much.

Try using this instead:

  • Note that Christoph S mentions the same thing in his answer - though not as explicit. Plus when the problematic bracing was mentioned in the comments the OP responded that that was not the only error. – moewe Aug 26 '17 at 16:25

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.