# APA bibliography style with numbers

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 Answer

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}