-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresume.pandoc.tex
285 lines (259 loc) · 8.06 KB
/
resume.pandoc.tex
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
%% =========================================================================
%% Pandoc ModernCV template, generates a pretty PDF resume from a YAML source.
%% Any original contributions by me (Sam Juvonen 2016) are in the public domain.
%% CREDITS
%% - pandoc's default.latex template
%% - moderncv template.tex
%% - http://mrzool.cc/writing/typesetting-automation/
%% - http://tex.stackexchange.com/questions/168537/how-to-insert-multiple-paragraphs-in-a-cventry
%% =========================================================================
\documentclass[11pt,letterpaper]{moderncv}
% moderncv themes
% style options are 'casual' (default), 'classic', 'banking', 'oldstyle' and 'fancy'
% color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red'
\moderncvstyle{$style$}
\moderncvcolor{$color$}
\usepackage{fontspec}
$if(linestretch)$
\usepackage{setspace}
\setstretch{$linestretch$}
$endif$
$if(mainfont)$
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
$else$
\setmainfont{Liberation Serif}[]
$endif$
$if(sansfont)$
\setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
$endif$
$if(monofont)$
\setmonofont[Mapping=tex-ansi$if(monofontoptions)$,$for(monofontoptions)$$monofontoptions$$sep$ ,$endfor$$endif$]{$monofont$}
$endif$
$if(mathfont)$
\setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
$endif$
% use microtype if available
\IfFileExists{microtype.sty}{%
\usepackage{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
$if(geometry)$
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
$endif$
$if(links-as-notes)$
% Make links footnotes instead of hotlinks:
\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
$endif$
$for(header-includes)$
$header-includes$
$endfor$
% adjust the page margins
\usepackage[scale=0.75]{geometry}
% if you want to change the width of the column with the dates
\setlength{\hintscolumnwidth}{3cm}
% for the 'classic' style, if you want to force the width allocated to your
% name and avoid line breaks. be careful though, the length is normally
% calculated to avoid any overlap with your personal info;
% use this at your own typographical risks...
%\setlength{\makecvtitlenamewidth}{10cm}
%% Redefine cventry and cvitem to allow multiple paragraphs.
\usepackage{enumitem}
\renewcommand{\cventry}[7][.25em]{%
\cvitem[#1]{#2}{%
{\bfseries#3}%
\ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}%
\ifthenelse{\equal{#5}{}}{}{, #5}%
\ifthenelse{\equal{#6}{}}{}{, #6}%
.\strut%
\newline{\small\strut #7 \par}}}
\renewcommand{\cvitem}[3][.25em]{%
\begin{mycvlist}
\item[#2] #3
\end{mycvlist}
\addvspace{#1}}
\newlist{mycvlist}{description}{1}
\setlist[mycvlist]{labelwidth=\hintscolumnwidth,labelsep=\separatorcolumnwidth,leftmargin=!,align=right,font=\normalfont}
%% ========================================================================
%% personal data
%% ========================================================================
\name{$firstname$}{$lastname$}
$if(photo)$
% '64pt' is the height the picture must be resized to, 0.4pt is the thickness
% of the frame around it (put it to 0pt for no frame) and 'picture' is the name
% of the picture file
\photo[80pt][0.4pt]{$photo$}
$endif$
$if(title)$
\title{$title$}
$endif$
% optional, remove / comment the line if not wanted;
% the "postcode city" and "country" arguments can be omitted or provided empty
$if(address)$
$if(address.include)$
$if(public)$
$if(lang_nl)$
\address{ Geboren $birthdate.day$ $birthdate.month.nl$ $birthdate.year$ }{\makenewline Woonachtig in $address.city$}
$else$
\address{ Born $birthdate.city$, $birthdate.month.en$, $birthdate.day$ }{\makenewline Lives in $address.city$}
$endif$
$else$
% $if(address.street)$
% DIRTY, see: https://tex.stackexchange.com/questions/267604/moderncv-adding-date-of-birth-to-personal-information
% \address{\mbox{\hspace*{-2cm}Born $birthdate.day$.$birthdate.month$.$birthdate.year$,$birthdate.city$} \newline $address.city$}{$address.postcode$}{$address.country$}
% \address{$address.street$}{$address.postcode$ $address.city$}{$address.country$}
$if(lang_nl)$
\address{Geboren $birthdate.day$ $birthdate.month.nl$ $birthdate.year$ te $birthdate.city$ }{\makenewline Woonachtig in $address.city$}
$else$
\address{Born $birthdate.city$, $birthdate.month.en$, $birthdate.day$ $birthdate.year$}{\makenewline Lives in $address.city$}
$endif$
% $endif$
$endif$
$endif$
$endif$
% these are optional and can be commented out
$if(public)$
$if(settings.protect-phone)$
$else$
\phone[mobile]{$phone$}
$endif$
$if(settings.protect-email)$
$else$
\email{$email$}
$endif$
$else$
\phone[mobile]{$phone$}
\email{$email$}
$endif$
$if(homepage)$
\homepage{$homepage$}
$endif$
$if(linkedin)$
\social[linkedin]{$linkedin$}
$endif$
$if(twitter)$
\social[twitter]{$twitter$}
$endif$
$if(github)$
\social[github]{$github$}
$endif$
%\extrainfo{additional information}
%%----------------------------------------------------------------------------------
%% Actual document content
%%----------------------------------------------------------------------------------
\begin{document}
\makecvtitle
$for(include-before)$
$include-before$
$endfor$
$if(lang_en)$
$if(summary.en)$
\section{Summary}
$summary.en$
$endif$
$else$$if(lang_nl)$
$if(summary.nl)$
\section{Samenvatting}
$summary.nl$
$endif$
$endif$$endif$
$if(lang_en)$
\section{Work Experience}
$for(experience)$
$if(experience.skip)$
$else$
\cventry{$experience.dates.en$}{$experience.title.en$}{$experience.employer$}
{$experience.city$}{}
{$for(experience.description.en)$$experience.description.en$$sep$ \medskip{}\newline{}
$endfor$}
$endif$
$endfor$
$else$$if(lang_nl)$
\section{Werkervaring}
$for(experience)$
$if(experience.skip)$
$else$
\cventry{$experience.dates.nl$}{$experience.title.nl$}{$experience.employer$}
{$experience.city$}{}
{$for(experience.description.nl)$$experience.description.nl$$sep$ \medskip{}\newline{}
$endfor$}
$endif$
$endfor$
$else$
\section{Experience}
SELECT A LANGUAGE
$endif$$endif$
$if(lang_en)$
\section{Education}
$for(education)$
$if(education.skip)$
$else$
\cventry{$education.dates.en$}{$education.title.en$}{$education.institution.en$}
{$education.city$}{}
{$for(education.description.en)$$education.description.en$$sep$ \medskip{}\newline{}
$endfor$}
$endif$
$endfor$
$else$$if(lang_nl)$
\section{Opleiding}
$for(education)$
$if(education.skip)$
$else$
\cventry{$education.dates.nl$}{$education.title.nl$}{$education.institution.nl$}
{$education.city$}{}
{$for(education.description.nl)$$education.description.nl$$sep$ \medskip{}\newline{}
$endfor$}
$endif$
$endfor$
$else$
\section{Education}
SELECT A LANGUAGE
$endif$$endif$
$if(skills)$
$if(lang_en)$
$if(interests)$
\section{Other Skills}
$else$
\section{Other Skills, Interests and Activities}
$endif$
$for(skills)$
\cvitem{$skills.title.en$}
{$for(skills.description.en)$$skills.description.en$$sep$ \medskip{}\newline{}
$endfor$}
$endfor$
$else$$if(lang_nl)$
$if(interests)$
\section{Andere Vaardigheden}
$else$
\section{Andere Vaardigheden, Interesses en Activiteiten}
$endif$
$for(skills)$
\cvitem{$skills.title.nl$}
{$for(skills.description.nl)$$skills.description.nl$$sep$ \medskip{}\newline{}
$endfor$}
$endfor$
$else$
\section{Other Skills}
SELECT A LANGUAGE
$endif$$endif$
$endif$
$if(interests)$
$if(lang_en)$
\section{Other Interests and Activities}
$for(interests)$
\cvitem{$interests.title.en$}
{$for(interests.description.en)$$interests.description.en$$sep$ \medskip{}\newline{}
$endfor$}
$endfor$
$else$$if(lang_nl)$
\section{Andere Interesses en Activiteiten}
$for(interests)$
\cvitem{$interests.title.nl$}
{$for(interests.description.nl)$$interests.description.nl$$sep$ \medskip{}\newline{}
$endfor$}
$endfor$
$else$
\section{Interests}
SELECT A LANGUAGE
$endif$$endif$
$endif$
\end{document}