-
Notifications
You must be signed in to change notification settings - Fork 12
/
minimal-latex-cv.tex
373 lines (306 loc) · 11 KB
/
minimal-latex-cv.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
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
%----------------------------------------------------------------------------------------
% DOCUMENT DEFINITION
%----------------------------------------------------------------------------------------
% we use article class because we want to fully customize the page
\documentclass[10pt,A4]{article}
%----------------------------------------------------------------------------------------
% ENCODING
%----------------------------------------------------------------------------------------
%we use utf8 since we want to build from any machine
\usepackage[utf8]{inputenc}
%----------------------------------------------------------------------------------------
% LOGIC
%----------------------------------------------------------------------------------------
\usepackage{xifthen}
\usepackage{calc}
\usepackage[hidelinks]{hyperref}
%----------------------------------------------------------------------------------------
% FONT
%----------------------------------------------------------------------------------------
% some tex-live fonts - choose your own
%\usepackage[defaultsans]{droidsans}
%\usepackage[default]{comfortaa}
%\usepackage{cmbright}
\usepackage[default]{raleway}
%\usepackage{fetamont}
%\usepackage[default]{gillius}
%\usepackage[light,math]{iwona}
%\usepackage[thin]{roboto}
% set font default
\renewcommand*\familydefault{\sfdefault}
\usepackage[T1]{fontenc}
% more font size definitions
\usepackage{moresize}
% font icons package
\usepackage{fontawesome}
%----------------------------------------------------------------------------------------
% PAGE LAYOUT DEFINITIONS
%----------------------------------------------------------------------------------------
%define page styles using geometry
\usepackage[a4paper]{geometry}
% for example, change the margins to 2 inches all round
\geometry{top=2cm, bottom=2cm, left=2cm, right=2cm}
% use customized header
\usepackage{fancyhdr}
\pagestyle{fancy}
%less space between header and content
\setlength{\headheight}{-5pt}
% customize header entries
\lhead{}
\rhead{}
\chead{}
%indentation is zero
\setlength{\parindent}{0mm}
%----------------------------------------------------------------------------------------
% GRAPHICS DEFINITIONS
%----------------------------------------------------------------------------------------
% for drawing graphics and charts
\usepackage{tikz}
\usetikzlibrary{shapes, backgrounds}
% use to vertically center content
% credits to: http://tex.stackexchange.com/questions/7219/how-to-vertically-center-two-images-next-to-each-other
\newcommand{\vcenteredinclude}[1]{\begingroup
\setbox0=\hbox{\includegraphics{#1}}%
\parbox{\wd0}{\box0}\endgroup}
% use to vertically center content
% credits to: http://tex.stackexchange.com/questions/7219/how-to-vertically-center-two-images-next-to-each-other
\newcommand*{\vcenteredhbox}[1]{\begingroup
\setbox0=\hbox{#1}\parbox{\wd0}{\box0}\endgroup}
%----------------------------------------------------------------------------------------
% ICON-SET EMBEDDING
%----------------------------------------------------------------------------------------
% at this point we simplify our icon-embedding by simply referring to a set of png images.
% if you find a good way of including svg without conflicting with other packages you can
% replace this part
\newcommand{\icon}[2]{\colorbox{black}{\makebox(#2, #2){\textcolor{white}{\large\csname fa#1\endcsname}}}} %icon shortcut
\newcommand{\icontext}[3]{ %icon with text shortcut
\vcenteredhbox{\icon{#1}{#2}}\hspace{0.2cm}\vcenteredhbox{\textcolor{black}{#3}}
}
%----------------------------------------------------------------------------------------
% HEADER
%----------------------------------------------------------------------------------------
% remove top header line
\renewcommand{\headrulewidth}{0pt}
%remove botttom header line
\renewcommand{\footrulewidth}{0pt}
%remove pagenum
\renewcommand{\thepage}{}
%remove section num
\renewcommand{\thesection}{}
%----------------------------------------------------------------------------------------
%
% TIKZ GRAPHICS
%
%----------------------------------------------------------------------------------------
\newcounter{a}
\newcounter{b}
\newcounter{c}
\newcounter{barcount}
%----------------------------------------------------------------------------------------
% BAR CHART
%----------------------------------------------------------------------------------------
% draw a bar chart
% param 1: width
% param 2: height
% param 3: border color
% param 4: label text color
% param 5: label bg color
% param 6: cat 1 color
\newenvironment{barchart}[8]{
\newcommand{\barwidth}{0.35}
\newcommand{\barsep}{0.2}
% param 1: overall percent
% param 2: label
% param 3: cat 1 percent
% param 4: cat 2 percent
% param 5: cat 3 percent
\newcommand{\baritem}[5]{
\pgfmathparse{##3+##4+##5}
\let\perc\pgfmathresult
\pgfmathparse{#2}
\let\barsize\pgfmathresult
\pgfmathparse{\barsize*##3/100}
\let\barone\pgfmathresult
\pgfmathparse{\barsize*##4/100}
\let\bartwo\pgfmathresult
\pgfmathparse{\barsize*##5/100}
\let\barthree\pgfmathresult
\pgfmathparse{(\barwidth*\thebarcount)+(\barsep*\thebarcount)}
\let\barx\pgfmathresult
\filldraw[fill=#6, draw=none] (0,-\barx) rectangle (\barone,-\barx-\barwidth);
\filldraw[fill=#7, draw=none] (\barone, -\barx) rectangle (\barone+\bartwo,-\barx-\barwidth);
\filldraw[fill=#8, draw=none] (\barone+\bartwo,-\barx ) rectangle (\barone+\bartwo+\barthree,-\barx-\barwidth);
\node [label=180:\colorbox{#5}{\textcolor{#4}{##2}}] at (0,-\barx-0.175) {};
\addtocounter{barcount}{1}
}
\begin{tikzpicture}
\setcounter{barcount}{0}
}
{\end{tikzpicture}}
%----------------------------------------------------------------------------------------
% BUBBLE CHART
%----------------------------------------------------------------------------------------
\newcommand{\bubble}[5]{
\definecolor{tmpcol}{RGB}{50,50,#5}
% slice
\filldraw[fill=black,draw=none] (#1,0.5) circle (#3);
% outer label
\node[label=\textcolor{black}{#4}] at (#1,0.7) {};
}
\newcommand{\bubbles}[2]{
%reset counters
\setcounter{a}{0}
\setcounter{c}{150}
\begin{tikzpicture}[scale=3]
\foreach \p/\t in {#1} {
\addtocounter{a}{1}
\bubble{\thea/2}{\theb}{\p/25}{\t}{1\p0}
}
\end{tikzpicture}
}
%----------------------------------------------------------------------------------------
% custom sections
%----------------------------------------------------------------------------------------
% create a coloured box with arrow and title as cv section headline
% param 1: section title
%
\newcommand{\cvsection}[1] {
\textcolor{white}{\MakeUppercase{\textbf{#1}}}
}
\newcommand{\cvsect}[1]{
\colorbox{black}{{\cvsection{#1}}}\\\\%
}
%----------------------------------------------------------------------------------------
% CUSTOM LOREM IPSUM
%----------------------------------------------------------------------------------------
\newcommand{\lorem}{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus.}
%----------------------------------------------------------------------------------------
% ENTRY LIST
%----------------------------------------------------------------------------------------
\usepackage{tabularx}
\setlength{\tabcolsep}{0pt}
\newenvironment{entrylist}{%
\begin{tabular*}{\textwidth}[t]{@{\extracolsep{\fill}}ll}
}{%
\end{tabular*}
}
\newcommand{\entry}[4]{%
\parbox[t]{3.5cm}{%
#1%
}%
&\parbox[t]{14cm}{%
\textbf{#2}%
\hfill%
{\footnotesize \textbf{\textcolor{black}{#3}}}\\%
#4%
}\\\\}
\newcommand{\slashsep}{
\hspace{2mm}/\hspace{2mm}
}
%----------------------------------------------------------------------------------------
% DOCUMENT CONTENT
%----------------------------------------------------------------------------------------
\begin{document}
%----------------------------------------------------------------------------------------
% TITLE HEADLINE
%----------------------------------------------------------------------------------------
\begin{minipage}[t]{0.45\textwidth}\hrule height 0pt width 0pt%
\colorbox{black}{{\HUGE\textcolor{white}{\textbf{\MakeUppercase{John Doe}}}}}%
\vspace{1mm}\LARGE{Web App Architect}
\end{minipage}%
\begin{minipage}[t]{0.3\textwidth}\hrule height 0pt width 0pt%
\small%
\icontext{MapMarker}{12}{Prague, Czech Republic}\\
\icontext{Phone}{12}{+420 123 456 789}\\
\icontext{At}{12}{\href{mailto:jan@vorisek.me}{jan@vorisek.me}}\\
\end{minipage}%
\begin{minipage}[t]{0.3\textwidth}\hrule height 0pt width 0pt%
\small%
\icontext{Globe}{12}{\href{https://jan.vorisek.me}{jan.vorisek.me}}\\
\icontext{Github}{12}{\href{https://github.com/janvorisek}{github.com/janvorisek}}\\
\icontext{Twitter}{12}{\href{https://twitter.com/@JanVorisekCZ}{twitter.com/@JanVorisekCZ}}\\
\end{minipage}%
% manage space by reducing font size
\small%
\vspace{0.5cm}
%----------------------------------------------------------------------------------------
% SKILLS AND TECHNOLOGIES
%----------------------------------------------------------------------------------------
\cvsect{Who Am I?}%
\begin{minipage}[t]{0.4\textwidth}%
\lorem \lorem \lorem \lorem \lorem\\
\end{minipage}%
\hfill
\begin{minipage}[t]{0.5\textwidth}\hrule height 0pt width 0pt%
\vspace{-10pt}%
\begin{barchart}{10}{5.5}{red}{white}{black}{black}{black}{black}
\baritem{50}{JavaScript}{0}{0}{60}
\baritem{80}{PHP}{100}{0}{0}
\baritem{80}{SASS/LESS}{0}{0}{70}
\baritem{80}{Bootstrap 3/4}{0}{0}{70}
\baritem{40}{Git}{0}{0}{40}
\baritem{50}{LaTeX}{0}{0}{60}
\end{barchart}
\end{minipage}%
\begin{center}
\bubbles{5/Eclipse, 6/git, 4/Office, 3/Inkscape, 3/Blender}{}
\end{center}
\cvsect{Experience}
\begin{entrylist}
\entry
{2017 – 3/2018}
{Front-end developer}
{Big Corporation Name Inc.}
{\lorem \lorem \lorem\\
\texttt{node.js}\slashsep\texttt{Vue.js}\slashsep\texttt{Electron}}
\entry
{2015 – 2018\\\footnotesize{part time}}
{Full stack developer}
{Famous Eshop Inc.}
{\lorem\lorem\\
\texttt{PHP}\slashsep\texttt{JS}\slashsep\texttt{MariaDB}\slashsep\texttt{Linux}}
\entry
{2013 – 2014\\\footnotesize{part time}}
{Junior PHP Developer}
{example.com}
{\lorem\lorem\\
\texttt{PHP}\slashsep\texttt{Laravel}}
\end{entrylist}
\\\\
\cvsect{Education}
\begin{entrylist}
\entry
{2013 – 2017}
{Master's Degree}
{Another Awesome University}
{\lorem\lorem\lorem}
\entry
{2014}
{ERASMUS}
{Awesome University in Heaven}
{\lorem\lorem}
\entry
{2007 – 2013}
{Bachelor's Degree}
{Awesome University in Heaven}
{\lorem\lorem}
\end{entrylist}
\\\\
\begin{minipage}[t]{0.3\textwidth}\hrule height 0pt width 0pt%
\cvsect{Languages}
\textbf{Czech} - native\\
\textbf{English} - C2\\
\textbf{Polish} - B1
\end{minipage}%
\hspace{0cm}
\begin{minipage}[t]{0.3\textwidth}\hrule height 0pt width 0pt%
\cvsect{Hobbies}
I love... \lorem
\end{minipage}%
\hspace{2cm}
\begin{minipage}[t]{0.3\textwidth}\hrule height 0pt width 0pt%
\cvsect{Non profit}
I help... \lorem
\end{minipage}%
% LANGUAGES
\end{document}