I use the authoryear style in biblatex and want to create a number before the entries just like in the numeric style. I managed to get the numbers but would also like to have square brackets around them an get rid of the dot after the number.
\documentclass{article}
\usepackage[style=authoryear,dashed=false,backend=biber,eprint=false,doi=false,isbn=false,url=false]{biblatex}
\defbibenvironment{bibliography}
{\enumerate
{}
{\setlength{\leftmargin}{\bibhang}%
\setlength{\itemindent}{-\leftmargin}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endenumerate}
{\item}
\usepackage{csquotes}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{DiGiuseppe2016,
Title = {{Borrowed Time: Sovereign Finance, Regime Type, and Leader Survival}},
Author = {DiGiuseppe, Matthew and Shea, Patrick E.},
Journal = {Economics and Politics},
Year = {2016},
Number = {3},
Pages = {342--367},
Volume = {28},
Doi = {10.1111/ecpo.12081},
ISBN = {1468-0343},
ISSN = {14680343}
}
@Article{Dixit2000,
Title = {{Political Power and the Credibility of Government Debt}},
Author = {Dixit, Avinash and Londregan, John},
Journal = {Journal of Economic Theory},
Year = {2000},
Number = {1},
Pages = {80--105},
Volume = {94},
Doi = {10.1006/jeth.2000.2684},
ISSN = {00220531}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Text \cite{Dixit2000} More Text \cite{DiGiuseppe2016}
\printbibliography
\end{document}
Best Answer
Using the package
enumitem
you can customize theenumerate
environment. Modify your MWE with the following code:Result: