-
Notifications
You must be signed in to change notification settings - Fork 3
/
mai-joel_maximilian-curriculum_vitae.tex
198 lines (156 loc) Β· 5.95 KB
/
mai-joel_maximilian-curriculum_vitae.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
%============================================================================%
% DOCUMENT DEFINITION
%============================================================================%
% we use article class because we want to fully customize the page and don't use a cv template
\documentclass[10pt,A4]{article}
% we use utf8 since we want to build from any machine
\usepackage[utf8]{inputenc}
% provides \isempty test
\usepackage{xstring, xifthen}
%----------------------------------------------------------------------------------------
% FONTS
%----------------------------------------------------------------------------------------
% some tex-live fonts - choose your own
%\usepackage[defaultsans]{droidsans}
%\usepackage[default]{comfortaa}
%\usepackage{cmbright}
%\usepackage[default]{raleway}
\usepackage{helvet}
%\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}
% language
\usepackage[german]{babel}
% text alignment
\usepackage{ragged2e}
%----------------------------------------------------------------------------------------
% FONT AWESOME ICONS
%----------------------------------------------------------------------------------------
% include the fontawesome icon set
\usepackage{fontawesome}
% 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 shortcut
\newcommand{\icon}[3] {
\makebox(#2, #2){\textcolor{black}{\csname fa#1\endcsname}}
}
% icon with text shortcut
\newcommand{\icontext}[4]{
\vcenteredhbox{\icon{#1}{#2}{#3}} \hspace{2pt} \parbox{0.9\mpwidth}{\textcolor{#4}{#3}}
}
% icon with website url
\newcommand{\iconhref}[5]{
\vcenteredhbox{\icon{#1}{#2}{#5}} \hspace{2pt} \href{#4}{\textcolor{#5}{#3}}
}
% icon with email link
\newcommand{\iconemail}[5]{
\vcenteredhbox{\icon{#1}{#2}{#5}} \hspace{2pt} \href{mailto:#4}{\textcolor{#5}{#3}}
}
%----------------------------------------------------------------------------------------
% PAGE LAYOUT DEFINITIONS
%----------------------------------------------------------------------------------------
% page outer frames (debug-only)
% \usepackage{showframe}
% we use paracol to display breakable two columns
\usepackage{paracol}
% define page styles using geometry
\usepackage[a4paper]{geometry}
% remove all possible margins
\geometry{top=1cm, bottom=1cm, left=1cm, right=1cm}
\usepackage{fancyhdr}
\pagestyle{empty}
% space between header and content
% \setlength{\headheight}{0pt}
% indentation is zero
\setlength{\parindent}{0mm}
%----------------------------------------------------------------------------------------
% TABLE /ARRAY DEFINITIONS
%----------------------------------------------------------------------------------------
% extended aligning of tabular cells
\usepackage{array}
% custom column right-align with fixed width
% use like p{size} but via x{size}
\newcolumntype{x}[1]{%
>{\raggedleft\hspace{0pt}}p{#1}}%
\usepackage{tcolorbox}
\tcbuselibrary{breakable, skins}
\usepackage{geometry}
%----------------------------------------------------------------------------------------
% GRAPHICS DEFINITIONS
%----------------------------------------------------------------------------------------
%for header image
\usepackage{graphicx}
% use this for floating figures
% \usepackage{wrapfig}
% \usepackage{float}
% \floatstyle{boxed}
% \restylefloat{figure}
%for drawing graphics
\usepackage{tikz}
\usetikzlibrary{shapes, backgrounds,mindmap, trees}
\newsavebox{\picbox}
\newcommand{\cutpic}[3]{
\savebox{\picbox}{\includegraphics[width=#2]{#3}}
\tikz\node [draw, rounded corners=#1, line width=4pt,
color=white, minimum width=\wd\picbox,
minimum height=\ht\picbox, path picture={
\node at (path picture bounding box.center) {
\usebox{\picbox}};
}] {};}
%----------------------------------------------------------------------------------------
% Color DEFINITIONS
%----------------------------------------------------------------------------------------
\usepackage{transparent}
\usepackage{color}
\definecolor{white}{RGB}{ 244, 244, 246 }
\definecolor{gray-150}{RGB}{ 216, 214, 225 }
\definecolor{black}{RGB}{ 34, 29, 60 }
\definecolor{primary}{RGB}{ 81, 75, 190 }
\definecolor{secondary}{RGB}{ 129, 125, 204 }
\definecolor{tertiary}{RGB}{ 177, 175, 217 }
\definecolor{accent}{RGB}{ 223, 120, 73 }
% Package for links, must be the last package used
\usepackage[hidelinks]{hyperref}
% returns minipage width minus two times \fboxsep
% to keep padding included in width calculations
% can also be used for other boxes / environments
\newcommand{\mpwidth}{\linewidth-\fboxsep-\fboxsep}
%---------------------------------------------------------------------------------------
% Include customizable Labels as custom package
%----------------------------------------------------------------------------------------
% Custom Commands for Elements and Snippets
\usepackage{variables/elements}
% Labels for easy customization
\usepackage{variables/labels}
%============================================================================%
%
% DOCUMENT CONTENT
%
%============================================================================%
\begin{document}
\columnratio{0.31}
\setlength{\columnsep}{2.2em}
\setlength{\columnseprule}{4pt}
\colseprulecolor{white}
\newpage
% \input{./pages/opener}
\newpage
% \input{./pages/cover-letter}
\newpage
\input{./pages/resume}
\newpage
% \input{./pages/references}
\end{document}