latex_curriculum_vitae 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +2 -16
- data/Gemfile +2 -2
- data/Gemfile.lock +146 -144
- data/History.rdoc +139 -133
- data/Manifest.txt +68 -69
- data/README.rdoc +83 -84
- data/Rakefile +119 -119
- data/bin/latexcv.rb +19 -19
- data/data/latex_curriculum_vitae/Cover/Cover.tex +141 -141
- data/data/latex_curriculum_vitae/Motivational_Letter/bwanschreiben.tex +204 -204
- data/data/latex_curriculum_vitae/Resume/cv_10.tex +440 -440
- data/data/latex_curriculum_vitae/Resume/friggeri-cv.cls +349 -349
- data/etc/latex_curriculum_vitae.cfg +15 -15
- data/etc/personal_data.tex +10 -10
- data/lib/latex_curriculum_vitae.rb +112 -112
- data/lib/latex_curriculum_vitae/cover.rb +32 -32
- data/lib/latex_curriculum_vitae/cv.rb +103 -103
- data/lib/latex_curriculum_vitae/email.rb +245 -245
- data/lib/latex_curriculum_vitae/entityfile.rb +186 -186
- data/lib/latex_curriculum_vitae/get-config.rb +58 -58
- data/lib/latex_curriculum_vitae/letter.rb +35 -35
- data/lib/latex_curriculum_vitae/notifier.rb +36 -36
- data/lib/latex_curriculum_vitae/outfile.rb +54 -54
- metadata +7 -8
- data/NEWS +0 -128
@@ -1,349 +1,349 @@
|
|
1
|
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2
|
-
% Friggeri Resume/CV
|
3
|
-
% XeLaTeX Template
|
4
|
-
% Version 1.0 (5/5/13)
|
5
|
-
%
|
6
|
-
% This template has been downloaded from:
|
7
|
-
% http://www.LaTeXTemplates.com
|
8
|
-
%
|
9
|
-
% Original author:
|
10
|
-
% Adrien Friggeri (adrien@friggeri.net)
|
11
|
-
% https://github.com/afriggeri/CV
|
12
|
-
% Modfied by: Sascha Manns (Sascha.Manns@
|
13
|
-
% https://github.com/saigkill/latex_curriculum_vitae
|
14
|
-
%
|
15
|
-
% License:
|
16
|
-
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
|
17
|
-
%
|
18
|
-
% Important notes:
|
19
|
-
% This template needs to be compiled with XeLaTeX and the bibliography, if used,
|
20
|
-
% needs to be compiled with biber rather than bibtex.
|
21
|
-
%
|
22
|
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
23
|
-
\ProvidesClass{friggeri-cv}[2012/04/30 CV class]
|
24
|
-
\NeedsTeXFormat{LaTeX2e}
|
25
|
-
|
26
|
-
\DeclareOption{print}{\def\@cv@print{}}
|
27
|
-
\DeclareOption*{%
|
28
|
-
\PassOptionsToClass{\CurrentOption}{article}%
|
29
|
-
}
|
30
|
-
\ProcessOptions\relax
|
31
|
-
\LoadClass{article}
|
32
|
-
|
33
|
-
%%%%%%%%%%
|
34
|
-
% Colors %
|
35
|
-
%%%%%%%%%%
|
36
|
-
|
37
|
-
\RequirePackage{xcolor}
|
38
|
-
|
39
|
-
\definecolor{white}{RGB}{255,255,255}
|
40
|
-
|
41
|
-
\definecolor{darkgray}{HTML}{333333}
|
42
|
-
\definecolor{gray}{HTML}{4D4D4D}
|
43
|
-
\definecolor{lightgray}{HTML}{999999}
|
44
|
-
|
45
|
-
\definecolor{green}{HTML}{C2E15F}
|
46
|
-
\definecolor{orange}{HTML}{FDA333}
|
47
|
-
\definecolor{purple}{HTML}{D3A4F9}
|
48
|
-
\definecolor{red}{HTML}{FB4485}
|
49
|
-
\definecolor{blue}{HTML}{6CE0F1}
|
50
|
-
|
51
|
-
\ifdefined\@cv@print
|
52
|
-
\colorlet{green}{gray}
|
53
|
-
\colorlet{orange}{gray}
|
54
|
-
\colorlet{purple}{gray}
|
55
|
-
\colorlet{brown}{gray}
|
56
|
-
\colorlet{red}{gray}
|
57
|
-
\colorlet{blue}{gray}
|
58
|
-
\colorlet{fillheader}{white}
|
59
|
-
\colorlet{header}{gray}
|
60
|
-
\else
|
61
|
-
\colorlet{fillheader}{gray}
|
62
|
-
\colorlet{header}{white}
|
63
|
-
\fi
|
64
|
-
\colorlet{textcolor}{gray}
|
65
|
-
\colorlet{headercolor}{gray}
|
66
|
-
|
67
|
-
%%%%%%%%%
|
68
|
-
% Fonts %
|
69
|
-
%%%%%%%%%
|
70
|
-
|
71
|
-
\RequirePackage[quiet]{fontspec}
|
72
|
-
\RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math}
|
73
|
-
|
74
|
-
\newfontfamily\bodyfont[]{Koblenz Serial}
|
75
|
-
\newfontfamily\thinfont[]{Koblenz Serial Light}
|
76
|
-
\newfontfamily\headingfont[]{Koblenz Serial Bold}
|
77
|
-
|
78
|
-
\defaultfontfeatures{Mapping=tex-text}
|
79
|
-
\setmainfont[Mapping=tex-text, Color=textcolor]{Isonorm Pro}
|
80
|
-
|
81
|
-
%\setmathfont{XITS Math}
|
82
|
-
|
83
|
-
%%%%%%%%%%
|
84
|
-
% Header %
|
85
|
-
%%%%%%%%%%
|
86
|
-
|
87
|
-
\RequirePackage{tikz}
|
88
|
-
|
89
|
-
\newcommand{\rolefont}{%
|
90
|
-
\fontsize{14pt}{24pt}\selectfont%
|
91
|
-
\thinfont%
|
92
|
-
\color{white}%
|
93
|
-
}
|
94
|
-
|
95
|
-
\newcommand{\header}[3]{%
|
96
|
-
\begin{tikzpicture}[remember picture,overlay]
|
97
|
-
\node [rectangle, fill=fillheader, anchor=north, minimum width=\paperwidth, minimum height=4cm] (box) at (current page.north){};
|
98
|
-
\node [anchor=center] (name) at (box) {%
|
99
|
-
\fontsize{40pt}{72pt}\color{header}%
|
100
|
-
{\thinfont #1}{\bodyfont #2}
|
101
|
-
};
|
102
|
-
\node [anchor=north] at (name.south) {%
|
103
|
-
\fontsize{14pt}{24pt}\color{header}%
|
104
|
-
\thinfont #3%
|
105
|
-
};
|
106
|
-
\end{tikzpicture}
|
107
|
-
\vspace{2.5cm}
|
108
|
-
\vspace{-2\parskip}
|
109
|
-
}
|
110
|
-
|
111
|
-
|
112
|
-
%%%%%%%%%%%%%
|
113
|
-
% Structure %
|
114
|
-
%%%%%%%%%%%%%
|
115
|
-
\RequirePackage{parskip}
|
116
|
-
|
117
|
-
\newcounter{colorCounter}
|
118
|
-
\def\@sectioncolor#1#2#3{%
|
119
|
-
{%
|
120
|
-
\color{%
|
121
|
-
\ifcase\value{colorCounter}%
|
122
|
-
blue\or%
|
123
|
-
red\or%
|
124
|
-
orange\or%
|
125
|
-
green\or%
|
126
|
-
purple\or%
|
127
|
-
blue\or%
|
128
|
-
red\or%
|
129
|
-
orange\or%
|
130
|
-
green\or%
|
131
|
-
purple\or%
|
132
|
-
brown\else%
|
133
|
-
headercolor\fi%
|
134
|
-
} #1#2#3%
|
135
|
-
}%
|
136
|
-
\stepcounter{colorCounter}%
|
137
|
-
}
|
138
|
-
|
139
|
-
\renewcommand{\section}[1]{
|
140
|
-
\par\vspace{\parskip}
|
141
|
-
{%
|
142
|
-
\LARGE\headingfont\color{headercolor}%
|
143
|
-
\@sectioncolor #1%
|
144
|
-
}
|
145
|
-
\par\vspace{\parskip}
|
146
|
-
}
|
147
|
-
|
148
|
-
\renewcommand{\subsection}[2]{
|
149
|
-
\par\vspace{.5\parskip}%
|
150
|
-
\Large\headingfont\color{headercolor} #2%
|
151
|
-
\par\vspace{.25\parskip}%
|
152
|
-
}
|
153
|
-
|
154
|
-
\pagestyle{empty}
|
155
|
-
|
156
|
-
|
157
|
-
%%%%%%%%%%%%%%%%%%%%
|
158
|
-
% List environment %
|
159
|
-
%%%%%%%%%%%%%%%%%%%%
|
160
|
-
|
161
|
-
\setlength{\tabcolsep}{0pt}
|
162
|
-
\newenvironment{entrylist}{%
|
163
|
-
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}ll}
|
164
|
-
}{%
|
165
|
-
\end{tabular*}
|
166
|
-
}
|
167
|
-
\renewcommand{\bfseries}{\headingfont\color{headercolor}}
|
168
|
-
\newcommand{\entry}[4]{%
|
169
|
-
#1&\parbox[t]{10.5cm}{%
|
170
|
-
\textbf{#2}%
|
171
|
-
\hfill%
|
172
|
-
{\footnotesize\addfontfeature{Color=lightgray} #3}\\%
|
173
|
-
#4\vspace{\parsep}%
|
174
|
-
}\\}
|
175
|
-
|
176
|
-
|
177
|
-
%%%%%%%%%%%%%%
|
178
|
-
% Side block %
|
179
|
-
%%%%%%%%%%%%%%
|
180
|
-
|
181
|
-
\RequirePackage[absolute,overlay]{textpos}
|
182
|
-
\setlength{\TPHorizModule}{1cm}
|
183
|
-
\setlength{\TPVertModule}{1cm}
|
184
|
-
\newenvironment{aside}{%
|
185
|
-
\let\oldsection\section
|
186
|
-
\renewcommand{\section}[1]{
|
187
|
-
\par\vspace{\baselineskip}{\Large\headingfont\color{headercolor} ##1}
|
188
|
-
}
|
189
|
-
\begin{textblock}{5.0}(0.3, 4.33)%3.6
|
190
|
-
\begin{flushright}
|
191
|
-
\obeycr
|
192
|
-
}{%
|
193
|
-
\restorecr
|
194
|
-
\end{flushright}
|
195
|
-
\end{textblock}
|
196
|
-
\let\section\oldsection
|
197
|
-
}
|
198
|
-
|
199
|
-
%%%%%%%%%%%%%%%%
|
200
|
-
% Bibliography %
|
201
|
-
%%%%%%%%%%%%%%%%
|
202
|
-
|
203
|
-
\RequirePackage[style=verbose, maxnames=99, sorting=ydnt]{biblatex}
|
204
|
-
|
205
|
-
\DeclareFieldFormat[article]{title}{#1\par}
|
206
|
-
\DeclareFieldFormat[book]{title}{#1\par}
|
207
|
-
\DeclareFieldFormat[inproceedings]{title}{#1\par}
|
208
|
-
\DeclareFieldFormat[misc]{title}{#1\par}
|
209
|
-
\DeclareFieldFormat[report]{title}{#1\par}
|
210
|
-
|
211
|
-
\DeclareBibliographyDriver{article}{%
|
212
|
-
\printfield{title}%
|
213
|
-
\newblock%
|
214
|
-
\printnames{author}%
|
215
|
-
\par%
|
216
|
-
\newblock%
|
217
|
-
{%
|
218
|
-
\footnotesize\addfontfeature{Color=lightgray}\itshape%
|
219
|
-
\usebibmacro{journal+issuetitle}%
|
220
|
-
\setunit{\space}%
|
221
|
-
\printfield{pages}%
|
222
|
-
\newunit%
|
223
|
-
\printlist{publisher}%
|
224
|
-
\setunit*{\addcomma\space}%
|
225
|
-
\printfield{year}%
|
226
|
-
\setunit*{\addcomma\space}%
|
227
|
-
\printfield{issn}%
|
228
|
-
\newunit%
|
229
|
-
}
|
230
|
-
\par\vspace{0.3\baselineskip}
|
231
|
-
}
|
232
|
-
|
233
|
-
\DeclareBibliographyDriver{book}{%
|
234
|
-
\printfield{title}%
|
235
|
-
\newblock%
|
236
|
-
\printnames{author}%
|
237
|
-
\par%
|
238
|
-
\newblock%
|
239
|
-
{%
|
240
|
-
\footnotesize\addfontfeature{Color=lightgray}\itshape%
|
241
|
-
\printlist{publisher}%
|
242
|
-
\setunit*{\addcomma\space}%
|
243
|
-
\printfield{note}%
|
244
|
-
\setunit*{\addcomma\space}%
|
245
|
-
\printfield{year}%
|
246
|
-
\setunit{\addcomma\space}%
|
247
|
-
\printlist{location}%
|
248
|
-
\setunit{\addcomma\space}%
|
249
|
-
\printfield{isbn}%
|
250
|
-
\setunit{\addcomma\space}%
|
251
|
-
\printfield{url}%
|
252
|
-
\newunit%
|
253
|
-
}
|
254
|
-
\par\vspace{0.3\baselineskip}
|
255
|
-
}
|
256
|
-
|
257
|
-
|
258
|
-
\DeclareBibliographyDriver{inproceedings}{%
|
259
|
-
\printfield{title}%
|
260
|
-
\newblock%
|
261
|
-
\printnames{author}%
|
262
|
-
\par%
|
263
|
-
\newblock%
|
264
|
-
{%
|
265
|
-
\footnotesize\addfontfeature{Color=lightgray}%
|
266
|
-
\printfield{booktitle}%
|
267
|
-
\setunit{\addcomma\space}%
|
268
|
-
\printfield{year}%
|
269
|
-
\setunit{\addcomma\space}%
|
270
|
-
\printlist{location}%
|
271
|
-
\newunit%
|
272
|
-
}
|
273
|
-
\par\vspace{0.3\baselineskip}
|
274
|
-
}
|
275
|
-
|
276
|
-
\DeclareBibliographyDriver{misc}{%
|
277
|
-
\printfield{title}%
|
278
|
-
\newblock%
|
279
|
-
\printnames{author}%
|
280
|
-
\par%
|
281
|
-
\newblock%
|
282
|
-
{%
|
283
|
-
\footnotesize\addfontfeature{Color=lightgray}\itshape%
|
284
|
-
\printfield{booktitle}%
|
285
|
-
\setunit*{\addcomma\space}%
|
286
|
-
\printfield{note}%
|
287
|
-
\setunit*{\addcomma\space}%
|
288
|
-
\printfield{year}%
|
289
|
-
\setunit{\addcomma\space}%
|
290
|
-
\printlist{location}%
|
291
|
-
\setunit*{\addcomma\space}%
|
292
|
-
\printfield{publisher}%
|
293
|
-
\setunit*{\addcomma\space}%
|
294
|
-
\printfield{issn}%
|
295
|
-
\setunit*{\addcomma\space}%
|
296
|
-
\printfield{url}%
|
297
|
-
\newunit%
|
298
|
-
}
|
299
|
-
\par\vspace{0.3\baselineskip}
|
300
|
-
}
|
301
|
-
|
302
|
-
\DeclareBibliographyDriver{report}{%
|
303
|
-
\printfield{title}%
|
304
|
-
\newblock%
|
305
|
-
\printnames{author}%
|
306
|
-
\par%
|
307
|
-
\newblock%
|
308
|
-
{%
|
309
|
-
\footnotesize\addfontfeature{Color=lightgray}\itshape%
|
310
|
-
\printfield{type}%
|
311
|
-
\setunit{\space}%
|
312
|
-
\printfield{number}%
|
313
|
-
\setunit{\addcomma\space}%
|
314
|
-
\printfield{year}%
|
315
|
-
\newunit%
|
316
|
-
}
|
317
|
-
\par\vspace{0.3\baselineskip}
|
318
|
-
}
|
319
|
-
|
320
|
-
\DeclareNameFormat{author}{%
|
321
|
-
\nameparts{#1}%
|
322
|
-
\small\addfontfeature{Color=lightgray}%
|
323
|
-
\ifblank{\namepartgiven}{}{\namepartgiven\space}\namepartfamily
|
324
|
-
\ifthenelse{\value{listcount}<\value{liststop}}%
|
325
|
-
{\addcomma\space}%
|
326
|
-
{}%
|
327
|
-
}
|
328
|
-
|
329
|
-
\newcommand{\printbibsection}[2]{
|
330
|
-
\begin{refsection}
|
331
|
-
\newrefcontext[sorting=chronological]
|
332
|
-
\nocite{*}
|
333
|
-
\printbibliography[type={#1}, title={#2}, heading=subbibliography]
|
334
|
-
\end{refsection}
|
335
|
-
}
|
336
|
-
|
337
|
-
\DeclareSortingScheme{chronological}{
|
338
|
-
\sort[direction=descending]{\field{year}}
|
339
|
-
\sort[direction=descending]{\field{month}}
|
340
|
-
}
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
%%%%%%%%%%%%%%%%
|
345
|
-
% Other tweaks %
|
346
|
-
%%%%%%%%%%%%%%%%
|
347
|
-
|
348
|
-
\RequirePackage[left=6.1cm,top=2cm,right=1.5cm,bottom=1.5cm,nohead,nofoot]{geometry}
|
349
|
-
\RequirePackage{hyperref}
|
1
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2
|
+
% Friggeri Resume/CV
|
3
|
+
% XeLaTeX Template
|
4
|
+
% Version 1.0 (5/5/13)
|
5
|
+
%
|
6
|
+
% This template has been downloaded from:
|
7
|
+
% http://www.LaTeXTemplates.com
|
8
|
+
%
|
9
|
+
% Original author:
|
10
|
+
% Adrien Friggeri (adrien@friggeri.net)
|
11
|
+
% https://github.com/afriggeri/CV
|
12
|
+
% Modfied by: Sascha Manns (Sascha.Manns@outlook.de)
|
13
|
+
% https://github.com/saigkill/latex_curriculum_vitae
|
14
|
+
%
|
15
|
+
% License:
|
16
|
+
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
|
17
|
+
%
|
18
|
+
% Important notes:
|
19
|
+
% This template needs to be compiled with XeLaTeX and the bibliography, if used,
|
20
|
+
% needs to be compiled with biber rather than bibtex.
|
21
|
+
%
|
22
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
23
|
+
\ProvidesClass{friggeri-cv}[2012/04/30 CV class]
|
24
|
+
\NeedsTeXFormat{LaTeX2e}
|
25
|
+
|
26
|
+
\DeclareOption{print}{\def\@cv@print{}}
|
27
|
+
\DeclareOption*{%
|
28
|
+
\PassOptionsToClass{\CurrentOption}{article}%
|
29
|
+
}
|
30
|
+
\ProcessOptions\relax
|
31
|
+
\LoadClass{article}
|
32
|
+
|
33
|
+
%%%%%%%%%%
|
34
|
+
% Colors %
|
35
|
+
%%%%%%%%%%
|
36
|
+
|
37
|
+
\RequirePackage{xcolor}
|
38
|
+
|
39
|
+
\definecolor{white}{RGB}{255,255,255}
|
40
|
+
|
41
|
+
\definecolor{darkgray}{HTML}{333333}
|
42
|
+
\definecolor{gray}{HTML}{4D4D4D}
|
43
|
+
\definecolor{lightgray}{HTML}{999999}
|
44
|
+
|
45
|
+
\definecolor{green}{HTML}{C2E15F}
|
46
|
+
\definecolor{orange}{HTML}{FDA333}
|
47
|
+
\definecolor{purple}{HTML}{D3A4F9}
|
48
|
+
\definecolor{red}{HTML}{FB4485}
|
49
|
+
\definecolor{blue}{HTML}{6CE0F1}
|
50
|
+
|
51
|
+
\ifdefined\@cv@print
|
52
|
+
\colorlet{green}{gray}
|
53
|
+
\colorlet{orange}{gray}
|
54
|
+
\colorlet{purple}{gray}
|
55
|
+
\colorlet{brown}{gray}
|
56
|
+
\colorlet{red}{gray}
|
57
|
+
\colorlet{blue}{gray}
|
58
|
+
\colorlet{fillheader}{white}
|
59
|
+
\colorlet{header}{gray}
|
60
|
+
\else
|
61
|
+
\colorlet{fillheader}{gray}
|
62
|
+
\colorlet{header}{white}
|
63
|
+
\fi
|
64
|
+
\colorlet{textcolor}{gray}
|
65
|
+
\colorlet{headercolor}{gray}
|
66
|
+
|
67
|
+
%%%%%%%%%
|
68
|
+
% Fonts %
|
69
|
+
%%%%%%%%%
|
70
|
+
|
71
|
+
\RequirePackage[quiet]{fontspec}
|
72
|
+
\RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math}
|
73
|
+
|
74
|
+
\newfontfamily\bodyfont[]{Koblenz Serial}
|
75
|
+
\newfontfamily\thinfont[]{Koblenz Serial Light}
|
76
|
+
\newfontfamily\headingfont[]{Koblenz Serial Bold}
|
77
|
+
|
78
|
+
\defaultfontfeatures{Mapping=tex-text}
|
79
|
+
\setmainfont[Mapping=tex-text, Color=textcolor]{Isonorm Pro}
|
80
|
+
|
81
|
+
%\setmathfont{XITS Math}
|
82
|
+
|
83
|
+
%%%%%%%%%%
|
84
|
+
% Header %
|
85
|
+
%%%%%%%%%%
|
86
|
+
|
87
|
+
\RequirePackage{tikz}
|
88
|
+
|
89
|
+
\newcommand{\rolefont}{%
|
90
|
+
\fontsize{14pt}{24pt}\selectfont%
|
91
|
+
\thinfont%
|
92
|
+
\color{white}%
|
93
|
+
}
|
94
|
+
|
95
|
+
\newcommand{\header}[3]{%
|
96
|
+
\begin{tikzpicture}[remember picture,overlay]
|
97
|
+
\node [rectangle, fill=fillheader, anchor=north, minimum width=\paperwidth, minimum height=4cm] (box) at (current page.north){};
|
98
|
+
\node [anchor=center] (name) at (box) {%
|
99
|
+
\fontsize{40pt}{72pt}\color{header}%
|
100
|
+
{\thinfont #1}{\bodyfont #2}
|
101
|
+
};
|
102
|
+
\node [anchor=north] at (name.south) {%
|
103
|
+
\fontsize{14pt}{24pt}\color{header}%
|
104
|
+
\thinfont #3%
|
105
|
+
};
|
106
|
+
\end{tikzpicture}
|
107
|
+
\vspace{2.5cm}
|
108
|
+
\vspace{-2\parskip}
|
109
|
+
}
|
110
|
+
|
111
|
+
|
112
|
+
%%%%%%%%%%%%%
|
113
|
+
% Structure %
|
114
|
+
%%%%%%%%%%%%%
|
115
|
+
\RequirePackage{parskip}
|
116
|
+
|
117
|
+
\newcounter{colorCounter}
|
118
|
+
\def\@sectioncolor#1#2#3{%
|
119
|
+
{%
|
120
|
+
\color{%
|
121
|
+
\ifcase\value{colorCounter}%
|
122
|
+
blue\or%
|
123
|
+
red\or%
|
124
|
+
orange\or%
|
125
|
+
green\or%
|
126
|
+
purple\or%
|
127
|
+
blue\or%
|
128
|
+
red\or%
|
129
|
+
orange\or%
|
130
|
+
green\or%
|
131
|
+
purple\or%
|
132
|
+
brown\else%
|
133
|
+
headercolor\fi%
|
134
|
+
} #1#2#3%
|
135
|
+
}%
|
136
|
+
\stepcounter{colorCounter}%
|
137
|
+
}
|
138
|
+
|
139
|
+
\renewcommand{\section}[1]{
|
140
|
+
\par\vspace{\parskip}
|
141
|
+
{%
|
142
|
+
\LARGE\headingfont\color{headercolor}%
|
143
|
+
\@sectioncolor #1%
|
144
|
+
}
|
145
|
+
\par\vspace{\parskip}
|
146
|
+
}
|
147
|
+
|
148
|
+
\renewcommand{\subsection}[2]{
|
149
|
+
\par\vspace{.5\parskip}%
|
150
|
+
\Large\headingfont\color{headercolor} #2%
|
151
|
+
\par\vspace{.25\parskip}%
|
152
|
+
}
|
153
|
+
|
154
|
+
\pagestyle{empty}
|
155
|
+
|
156
|
+
|
157
|
+
%%%%%%%%%%%%%%%%%%%%
|
158
|
+
% List environment %
|
159
|
+
%%%%%%%%%%%%%%%%%%%%
|
160
|
+
|
161
|
+
\setlength{\tabcolsep}{0pt}
|
162
|
+
\newenvironment{entrylist}{%
|
163
|
+
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}ll}
|
164
|
+
}{%
|
165
|
+
\end{tabular*}
|
166
|
+
}
|
167
|
+
\renewcommand{\bfseries}{\headingfont\color{headercolor}}
|
168
|
+
\newcommand{\entry}[4]{%
|
169
|
+
#1&\parbox[t]{10.5cm}{%
|
170
|
+
\textbf{#2}%
|
171
|
+
\hfill%
|
172
|
+
{\footnotesize\addfontfeature{Color=lightgray} #3}\\%
|
173
|
+
#4\vspace{\parsep}%
|
174
|
+
}\\}
|
175
|
+
|
176
|
+
|
177
|
+
%%%%%%%%%%%%%%
|
178
|
+
% Side block %
|
179
|
+
%%%%%%%%%%%%%%
|
180
|
+
|
181
|
+
\RequirePackage[absolute,overlay]{textpos}
|
182
|
+
\setlength{\TPHorizModule}{1cm}
|
183
|
+
\setlength{\TPVertModule}{1cm}
|
184
|
+
\newenvironment{aside}{%
|
185
|
+
\let\oldsection\section
|
186
|
+
\renewcommand{\section}[1]{
|
187
|
+
\par\vspace{\baselineskip}{\Large\headingfont\color{headercolor} ##1}
|
188
|
+
}
|
189
|
+
\begin{textblock}{5.0}(0.3, 4.33)%3.6
|
190
|
+
\begin{flushright}
|
191
|
+
\obeycr
|
192
|
+
}{%
|
193
|
+
\restorecr
|
194
|
+
\end{flushright}
|
195
|
+
\end{textblock}
|
196
|
+
\let\section\oldsection
|
197
|
+
}
|
198
|
+
|
199
|
+
%%%%%%%%%%%%%%%%
|
200
|
+
% Bibliography %
|
201
|
+
%%%%%%%%%%%%%%%%
|
202
|
+
|
203
|
+
\RequirePackage[style=verbose, maxnames=99, sorting=ydnt]{biblatex}
|
204
|
+
|
205
|
+
\DeclareFieldFormat[article]{title}{#1\par}
|
206
|
+
\DeclareFieldFormat[book]{title}{#1\par}
|
207
|
+
\DeclareFieldFormat[inproceedings]{title}{#1\par}
|
208
|
+
\DeclareFieldFormat[misc]{title}{#1\par}
|
209
|
+
\DeclareFieldFormat[report]{title}{#1\par}
|
210
|
+
|
211
|
+
\DeclareBibliographyDriver{article}{%
|
212
|
+
\printfield{title}%
|
213
|
+
\newblock%
|
214
|
+
\printnames{author}%
|
215
|
+
\par%
|
216
|
+
\newblock%
|
217
|
+
{%
|
218
|
+
\footnotesize\addfontfeature{Color=lightgray}\itshape%
|
219
|
+
\usebibmacro{journal+issuetitle}%
|
220
|
+
\setunit{\space}%
|
221
|
+
\printfield{pages}%
|
222
|
+
\newunit%
|
223
|
+
\printlist{publisher}%
|
224
|
+
\setunit*{\addcomma\space}%
|
225
|
+
\printfield{year}%
|
226
|
+
\setunit*{\addcomma\space}%
|
227
|
+
\printfield{issn}%
|
228
|
+
\newunit%
|
229
|
+
}
|
230
|
+
\par\vspace{0.3\baselineskip}
|
231
|
+
}
|
232
|
+
|
233
|
+
\DeclareBibliographyDriver{book}{%
|
234
|
+
\printfield{title}%
|
235
|
+
\newblock%
|
236
|
+
\printnames{author}%
|
237
|
+
\par%
|
238
|
+
\newblock%
|
239
|
+
{%
|
240
|
+
\footnotesize\addfontfeature{Color=lightgray}\itshape%
|
241
|
+
\printlist{publisher}%
|
242
|
+
\setunit*{\addcomma\space}%
|
243
|
+
\printfield{note}%
|
244
|
+
\setunit*{\addcomma\space}%
|
245
|
+
\printfield{year}%
|
246
|
+
\setunit{\addcomma\space}%
|
247
|
+
\printlist{location}%
|
248
|
+
\setunit{\addcomma\space}%
|
249
|
+
\printfield{isbn}%
|
250
|
+
\setunit{\addcomma\space}%
|
251
|
+
\printfield{url}%
|
252
|
+
\newunit%
|
253
|
+
}
|
254
|
+
\par\vspace{0.3\baselineskip}
|
255
|
+
}
|
256
|
+
|
257
|
+
|
258
|
+
\DeclareBibliographyDriver{inproceedings}{%
|
259
|
+
\printfield{title}%
|
260
|
+
\newblock%
|
261
|
+
\printnames{author}%
|
262
|
+
\par%
|
263
|
+
\newblock%
|
264
|
+
{%
|
265
|
+
\footnotesize\addfontfeature{Color=lightgray}%
|
266
|
+
\printfield{booktitle}%
|
267
|
+
\setunit{\addcomma\space}%
|
268
|
+
\printfield{year}%
|
269
|
+
\setunit{\addcomma\space}%
|
270
|
+
\printlist{location}%
|
271
|
+
\newunit%
|
272
|
+
}
|
273
|
+
\par\vspace{0.3\baselineskip}
|
274
|
+
}
|
275
|
+
|
276
|
+
\DeclareBibliographyDriver{misc}{%
|
277
|
+
\printfield{title}%
|
278
|
+
\newblock%
|
279
|
+
\printnames{author}%
|
280
|
+
\par%
|
281
|
+
\newblock%
|
282
|
+
{%
|
283
|
+
\footnotesize\addfontfeature{Color=lightgray}\itshape%
|
284
|
+
\printfield{booktitle}%
|
285
|
+
\setunit*{\addcomma\space}%
|
286
|
+
\printfield{note}%
|
287
|
+
\setunit*{\addcomma\space}%
|
288
|
+
\printfield{year}%
|
289
|
+
\setunit{\addcomma\space}%
|
290
|
+
\printlist{location}%
|
291
|
+
\setunit*{\addcomma\space}%
|
292
|
+
\printfield{publisher}%
|
293
|
+
\setunit*{\addcomma\space}%
|
294
|
+
\printfield{issn}%
|
295
|
+
\setunit*{\addcomma\space}%
|
296
|
+
\printfield{url}%
|
297
|
+
\newunit%
|
298
|
+
}
|
299
|
+
\par\vspace{0.3\baselineskip}
|
300
|
+
}
|
301
|
+
|
302
|
+
\DeclareBibliographyDriver{report}{%
|
303
|
+
\printfield{title}%
|
304
|
+
\newblock%
|
305
|
+
\printnames{author}%
|
306
|
+
\par%
|
307
|
+
\newblock%
|
308
|
+
{%
|
309
|
+
\footnotesize\addfontfeature{Color=lightgray}\itshape%
|
310
|
+
\printfield{type}%
|
311
|
+
\setunit{\space}%
|
312
|
+
\printfield{number}%
|
313
|
+
\setunit{\addcomma\space}%
|
314
|
+
\printfield{year}%
|
315
|
+
\newunit%
|
316
|
+
}
|
317
|
+
\par\vspace{0.3\baselineskip}
|
318
|
+
}
|
319
|
+
|
320
|
+
\DeclareNameFormat{author}{%
|
321
|
+
\nameparts{#1}%
|
322
|
+
\small\addfontfeature{Color=lightgray}%
|
323
|
+
\ifblank{\namepartgiven}{}{\namepartgiven\space}\namepartfamily
|
324
|
+
\ifthenelse{\value{listcount}<\value{liststop}}%
|
325
|
+
{\addcomma\space}%
|
326
|
+
{}%
|
327
|
+
}
|
328
|
+
|
329
|
+
\newcommand{\printbibsection}[2]{
|
330
|
+
\begin{refsection}
|
331
|
+
\newrefcontext[sorting=chronological]
|
332
|
+
\nocite{*}
|
333
|
+
\printbibliography[type={#1}, title={#2}, heading=subbibliography]
|
334
|
+
\end{refsection}
|
335
|
+
}
|
336
|
+
|
337
|
+
\DeclareSortingScheme{chronological}{
|
338
|
+
\sort[direction=descending]{\field{year}}
|
339
|
+
\sort[direction=descending]{\field{month}}
|
340
|
+
}
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
%%%%%%%%%%%%%%%%
|
345
|
+
% Other tweaks %
|
346
|
+
%%%%%%%%%%%%%%%%
|
347
|
+
|
348
|
+
\RequirePackage[left=6.1cm,top=2cm,right=1.5cm,bottom=1.5cm,nohead,nofoot]{geometry}
|
349
|
+
\RequirePackage{hyperref}
|