-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_config.sty
105 lines (74 loc) · 2.65 KB
/
default_config.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
\usepackage{csquotes}
\usepackage{siunitx}
\usepackage[dvipsnames]{xcolor}
\definecolor{darkblue}{rgb}{0.0,0.0,0.3}
\usepackage{hyperref}
\hypersetup{pdftex=true, colorlinks=true, breaklinks=true,
linkcolor=darkblue, menucolor=darkblue,
pagecolor=darkblue, urlcolor=darkblue}
\usepackage{graphicx}
\usepackage{overpic}
\usepackage[export]{adjustbox}
\usepackage[format=hang]{caption}
\usepackage{chngcntr}
\counterwithout{subsection}{section}
\renewcommand{\thesubsection}{S\arabic{subsection}}
\renewcommand{\thefigure}{S\arabic{subsection}}
\usepackage{xr}
\externaldocument[MAIN-]{/home/fh/sci/rsc/aniso_netw/pub/arxiv18/scrpt/main}
% ************************************************************************* %
% 4. Biblatex
% ************************************************************************* %
%there was however the problem, that I could not get the spacing
% for the headline right - depends on parskip!
% For [1] - Style comments:
%\usepackage[natbib=true,style=numeric,sorting=none]{biblatex}
% For (Name, 2002) - Style comments:
\usepackage[%
backend=bibtex, % needed for compilation
style=numeric, % authoryear-comp maybe?
sorting=none,
minbibnames=5,
maxbibnames=5,
defernumbers=true,
firstinits=true,
%% url=true, %
%% maxbibnames=99, %
%% doi=true, %
maxcitenames=2 %
%% dashed=false, % (1)
]{biblatex}
% (1): no dash for same authors in biblography:
%
% John Doe 2012 -> John Doe 2012
% ---- 2013 John Doe 2013
\DeclareFieldFormat*{urldate}{}
\AtEveryBibitem{%
\ifentrytype{misc}{%
}{%
\clearfield{url}%
}%
}
\AtEveryBibitem{\clearlist{language}}
\AtEveryBibitem{\ifentrytype{article}{\clearfield{issn}}{}}
\AtEveryBibitem{\clearfield{month}}
%\AtEveryBibitem{\clearfield{pages}}
%\AtEveryBibitem{\clearfield{number}}
%\AtEveryBibitem{\clearfield{volume}}
\AtEveryBibitem{\clearfield{eprint}}
\AtEveryBibitem{\clearfield{isbn}}
\AtEveryBibitem{\clearfield{shorttitle}}
\AtEveryBibitem{\clearfield{note}}
% removes quotation marks for article titles
\DeclareFieldFormat[article, incollection, inproceedings]{title}{#1}
% set the distances between bib items
\setlength\bibitemsep{3.9pt}
% % Links to DOIs
% % see http://tex.stackexchange.com/questions/23832
% \ExecuteBibliographyOptions{doi=false}
% \newbibmacro{string+doi}[1]{%
% \iffieldundef{doi}{#1}{\href{http://dx.doi.org/\thefield{doi}}{#1}}}
% \DeclareFieldFormat{title}{\usebibmacro{string+doi}{\mkbibemph{#1}}}
% \DeclareFieldFormat[article,incollection]{title}{\usebibmacro{string+doi}{#1}}
%\bibliography{references}
\bibliography{\string~/lib/main_bibtex}