0

For my thesis I am using biber and biblatex to manage the bibliography. I would like to use the apa-style of referencing since this is highly recommended by my university.

\documentclass[11pt, oneside]{report}
\usepackage[british]{babel}
\usepackage{csquotes}
\usepackage[style=apa,backend=biber,citestyle=numeric]{biblatex}
\DeclareLanguageMapping{british}{british-apa}
\addbibresource{library.bib} % with extension
\begin{document}
blabla
\printbibliography
\end{document}

The small code hereabove can perfectly generate me the apa-style that I would like, however, I would like to add numbers to each entry in the bibliography since I am using numbers to reference in the text. This would make everything more clear to the reader. After some thorough googling I have not yet found an answer to this solution, I hope it is very simple.

1

The APA style is not a numeric kind of style and you will most certainly forego proper APA compliance with this. You could simply look at using style=numeric all along.

But if you really want an APA-like numeric bibliography, use

\documentclass[11pt, oneside]{report}
\usepackage[british]{babel}
\usepackage{csquotes}
\usepackage[style=apa,backend=biber,citestyle=numeric]{biblatex}
\DeclareLanguageMapping{british}{british-apa}
\addbibresource{biblatex-examples.bib}

\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}}

\defbibenvironment{bibliography}
  {\list
     {\printtext[labelnumberwidth]{%
      \printfield{labelprefix}%
      \printfield{labelnumber}}}
     {\setlength{\labelwidth}{\labelnumberwidth}%
      \setlength{\leftmargin}{\labelwidth}%
      \setlength{\labelsep}{\biblabelsep}%
      \addtolength{\leftmargin}{\labelsep}%
      \setlength{\itemsep}{\bibitemsep}%
      \setlength{\parsep}{\bibparsep}}%
      \renewcommand*{\makelabel}[1]{\hss##1}}
  {\endlist}
  {\item}

\begin{document}
\cite{sigfridsson}
\printbibliography
\end{document}

bibliography page of the MWE

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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