forked from piazzai/arguelles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbibliographyArguello.sty
40 lines (33 loc) · 1.21 KB
/
bibliographyArguello.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Bibliography
\usepackage[
maxbibnames=99, % show all author names
uniquename=init,
backend=biber,
style=authoryear,
isbn=false, % print no ISBN
doi=false, % print no DOI
url=false, % print no URL
eprint=false, % print no preprint reference
giveninits=true % print initials, not full names
]{biblatex}
\usepackage{csquotes} % recommended by biblatex
% Do not include notes in the bibliography and option to skip annotations
\AtEveryBibitem{\clearfield{note}}
\newbool{clearannotation}
\AtEveryBibitem{\ifbool{clearannotation}{\clearfield{annotation}}{}}
% Fomatting bibliography volume + number + electronic identifier
\renewbibmacro{volume+number+eid}{
\printfield{volume}%
\setunit{\addcomma\space no.~}%
\printfield{number}
\setunit{\addcomma\space}%
\printfield{eid}}
% Remove "in:" before journal reference
\renewbibmacro{in:}{}
% Remove bibliography indentation from second line
\setlength{\bibhang}{1mm}
% Hyperlink in titles of the bibliography
\newbibmacro{string+doi}[1]{\iffieldundef{doi}{\iffieldundef{url}{#1}{\href{\thefield{url}}{#1}}}{\href{http://dx.doi.org/\thefield{doi}}{#1}}}
\DeclareFieldFormat*{title}{\usebibmacro{string+doi}{``#1''}}
% Bibliography symbol
\setbeamertemplate{bibliography item}{\faBook}