diff --git a/config/bibliography.tex b/config/bibliography.tex index 5869a7c..3584214 100644 --- a/config/bibliography.tex +++ b/config/bibliography.tex @@ -60,3 +60,23 @@ \clearfield{url}% } +% References section (https://tex.stackexchange.com/a/298992) +% tex-fmt: off +\setlength{\biblabelsep}{2\labelsep}% +\defbibenvironment{bibliography}{% + \list{% + \printtext[labelalphawidth]{% + \printfield{prefixnumber}% + \printfield{labelalpha}% + \printfield{extraalpha}% + }% + }{% + \setlength{\labelsep}{\biblabelsep}% + \setlength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}% + }% +\renewcommand*{\makelabel}[1]{##1\hss}% +}{\endlist}% +{\item}% +% tex-fmt: on