e1f3f7fd1ba5128c0df2ff331787f76180db84f3
[phd-thesis.git] / preamble / bibliography.tex
1 \usepackage{csquotes}
2 \usepackage[natbib,
3 backref,
4 backend=biber,
5 style=authoryear-comp,
6 useprefix=true,
7 uniquelist=false,
8 uniquename=false,
9 giveninits=true,
10 dashed=false,
11 date=year,
12 maxcitenames=2,
13 maxbibnames=99,
14 minnames=1]{biblatex}
15 % fix sorting for tussenvoegsels
16 \DeclareSortingNamekeyTemplate{
17 \keypart{\namepart{family}}
18 \keypart{\namepart{prefix}}
19 \keypart{\namepart{given}}
20 \keypart{\namepart{suffix}}
21 }
22
23 \addbibresource[glob]{bib/*.bib}
24 \usepackage{ragged2e}
25 \renewcommand{\bibfont}{\footnotesize}%\RaggedRight}
26 \setlength\bibitemsep{0pt}
27 \newcommand{\refurl}[2]{\url{#1}, accessed on: #2}
28
29 \makeatletter
30 \newcommand{\citepage}[1]{p.~#1}
31 \newcommand{\citepages}[1]{pp.~#1}
32 \newcommand{\citechapter}[1]{\cref@chapter@name~#1}
33 \newcommand{\citechapters}[1]{\cref@chapter@name@plural~#1}
34 \newcommand{\citesection}[1]{\cref@section@name~#1}
35 \newcommand{\citesections}[1]{\cref@section@name@plural~#1}
36 %\newcommand{\citesection}[1]{\S.~#1}
37 %\newcommand{\citesections}[1]{\S\S.~#1}
38 \newcommand{\citeparagraph}[1]{\P.~#1}
39 \newcommand{\citeparagraphs}[1]{\P\P.~#1}
40 \newcommand{\citelisting}[1]{\cref@listing@name~#1}
41 \makeatother