summaryrefslogtreecommitdiff
path: root/cv-template.tex
blob: f1f3c09940d9c5d302dfe52aa564f2103b427bc3 (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
79
80
81
82
83
84
85
86
87
88
\usepackage{hyperref}
\usepackage[T1]{fontenc}
\usepackage{palatino}

\input{solarized.tex}

\pagecolor{sbase3}
\color{sbase01}
\pagestyle{empty}
\addtolength{\parskip}{1ex}

\newcommand{\cvcompanycolor}{\color{sred}}
\newcommand{\cvprofessiontitlecolor}{\color{sbase02}}
\newcommand{\cvsectioncolor}{\color{sbase03}}
\newcommand{\cvtimeintervalcolor}{\color{sbase03}}
\newcommand{\cvitemcolor}{\color{sbase03}}
\newcommand{\cvnamecolor}{\color{sred}}
\newcommand{\cvrulecolor}{\color{sbase03}}
\newcommand{\cvemphcolor}{\color{sorange}}

\hypersetup{colorlinks=true,linkcolor=sblue,urlcolor=sblue}

\newcommand{\cvemph}[1]{\emph{\cvemphcolor#1}}
\newcommand{\cvhref}[2]{#2\footnote{#2 --- \href{#1}{#1}}}
\newenvironment{cvitemize}
{\begin{itemize}\setlength{\itemsep}{0pt}}
{\end{itemize}}

\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{\website}[1]{\providecommand{\cvwebsite}{\href{https://#1}{#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{WebSite}{\cvwebsite}
                        \alignedlistitem{Linkedin}{\cvlinkedin}
                        \alignedlistitem{Location}{\cvaddress}
                \end{alignedlist}
        \end{minipage}\par
        {\cvrulecolor\rule{\textwidth}{0.3em}}
\end{center}}

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

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

\newenvironment{introduction}
{}
{}

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

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

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

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