process all comments
[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 \DeclareSortingNamekeyTemplate{
16 \keypart{
17 \namepart{family}
18 }
19 \keypart{
20 \namepart{prefix}
21 }
22 \keypart{
23 \namepart{given}
24 }
25 \keypart{
26 \namepart{suffix}
27 }
28 }
29
30 \addbibresource[glob]{bib/*.bib}
31 \usepackage{ragged2e}
32 \renewcommand{\bibfont}{\footnotesize}%\RaggedRight}
33 \setlength\bibitemsep{0pt}
34 \newcommand{\refurl}[2]{\url{#1}, accessed on: #2}
35
36 \makeatletter
37 \newcommand{\citepage}[1]{p.~#1}
38 \newcommand{\citepages}[1]{pp.~#1}
39 \newcommand{\citechapter}[1]{\cref@chapter@name~#1}
40 \newcommand{\citechapters}[1]{\cref@chapter@name@plural~#1}
41 \newcommand{\citesection}[1]{\cref@section@name~#1}
42 \newcommand{\citesections}[1]{\cref@section@name@plural~#1}
43 %\newcommand{\citesection}[1]{\S.~#1}
44 %\newcommand{\citesections}[1]{\S\S.~#1}
45 \newcommand{\citeparagraph}[1]{\P.~#1}
46 \newcommand{\citeparagraphs}[1]{\P\P.~#1}
47 \newcommand{\citelisting}[1]{\cref@listing@name~#1}
48 \makeatother