summaryrefslogtreecommitdiff
path: root/cv-template.tex
blob: a985d56ac9e532db00715e31211e66c2ec9382dc (plain)
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
\input{solarized.tex}
\newcommand{\cvcompanycolor}{\color{sred}}
\newcommand{\cvprofessiontitlecolor}{\color{sorange}}
\newcommand{\cvsectioncolor}{\color{sviolet}}
\newcommand{\cvtimeintervalcolor}{\color{sbase03}}
\newcommand{\cvitemcolor}{\color{sbase03}}
\newcommand{\cvnamecolor}{\color{sred}}
\newcommand{\cvrulecolor}{\color{sbase03}}
\pagecolor{sbase3}
\color{sbase01}

\usepackage{palatino}
\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=sblue,urlcolor=sblue}
\pagestyle{empty}

\addtolength{\parskip}{1ex}

\newcommand{\cvhref}[2]{#2\footnote{#2 --- \href{#1}{#1}}}

\providecommand{\name}[1]{\providecommand{\cvname}{#1}}
\providecommand{\email}[1]{\providecommand{\cvemail}{\href{mailto:#1}{#1}}}
\providecommand{\address}[1]{\providecommand{\cvaddress}{#1}}
\providecommand{\professiontitle}[1]{\providecommand{\cvprofessiontitle}{#1}}
\providecommand{\linkedin}[1]{\providecommand{\cvlinkedin}{\href{https://www.linkedin.com/in/#1/}{#1}}}

\newenvironment{alignedlist}
{\begin{tabular}{p{0.25\linewidth}@{ : }p{0.70\linewidth}} \raggedright{}}
{\end{tabular}}

\newcommand{\alignedlistitem}[2]{\textbf{#1} & #2 \\}

\newcommand{\personalinfo}
{\begin{center}
        \begin{minipage}[c][]{0.48\textwidth} \raggedright{}
                {\Huge \cvnamecolor {\cvname{}}}\smallskip

                {\huge \cvprofessiontitlecolor \cvprofessiontitle{}}
        \end{minipage}
        \hfill
        \begin{minipage}[c][]{0.48\textwidth}
                \begin{alignedlist}
                        \alignedlistitem{Email}{\cvemail}
                        \alignedlistitem{Linkedin}{\cvlinkedin}
                        \alignedlistitem{Location}{\cvaddress}
                \end{alignedlist}
        \end{minipage}\par
        {\cvrulecolor\rule{\textwidth}{0.3em}}
\end{center}}

\providecommand{\timeitem}[5]
{\noindent{\Large{\cvcompanycolor #3} --- {\cvprofessiontitlecolor #4 }{\cvrulecolor\hrulefill}{\cvtimeintervalcolor\textit{ #1 --- #2}}}
\par
#5
\smallskip\par}

\newcommand{\cvsection}[1]{{\noindent{\cvrulecolor\hrulefill}\par\noindent\cvsectioncolor\LARGE{#1}}\medskip\par}

\newenvironment{introduction}
{}
{\medskip}

\newenvironment{experience}
{\cvsection{Professional Experience}}
{\medskip}

\newenvironment{education}
{\cvsection{Education}}
{\medskip}

\newenvironment{knowladge}
{\cvsection{Key Knowladge}}
{\medskip}

\newenvironment{extra}
{\cvsection{Extras}}
{\medskip}