-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.tex
54 lines (47 loc) · 1.09 KB
/
commands.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
%%%%%%%%%%%%%%%%%
%% My Commands %%
%%%%%%%%%%%%%%%%%
\renewcommand\labelitemi{{\Large\boldmath$\cdot$}}
\newcommand{\cpp}{C\texttt{++}}
\newcommand{\styleDate}[1]{
{{\color{resGray}#1}}
}
\newcommand{\styleDescription}[1]{
{\color{resGray}#1}
}
\newcommand{\styleEmployer}[1]{
{\Large{\color{resGray}#1}}
}
\newcommand{\stylePosition}[1]{
{\Large{\textbf{\color{resBlue}#1}}}
}
\newcommand{\styleLanguages}[1]{
{\color{resBlue}#1}
}
\newcommand{\resBulletPoint}[2][]{
\item\styleDescription{
\ifthenelse
{\isempty{#1}}
{}
{\textbf{#1}: }
#2
}
}
\newcommand{\resDot}{
\hspace{2mm}\color{resBlue}$\bullet$\color{resGray}\hspace{2mm}
}
\newcommand{\resItem}[4]{
\vspace{5pt}
\styleDate{#3} \\
\begin{tabularx}{\textwidth}[t]{lXr}
\stylePosition{#1}\ifthenelse{\isempty{#2}}{}{\styleEmployer{|\hspace{0.2em} #2}} & & \styleLanguages{#4}
\end{tabularx}
\vspace{-14pt}
}
\newenvironment{resElement}[1][]{
#1
\begin{itemize}[leftmargin=2ex, nosep, noitemsep]
}{
\end{itemize}
}
%%%%%%%%%%%%%%%%