-
Notifications
You must be signed in to change notification settings - Fork 0
/
ic-en.tex
72 lines (56 loc) · 2.55 KB
/
ic-en.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
%% start of file `template.tex'.
%% Copyright 2006-2012 Xavier Danaux ([email protected]).
%% Copyright 2012-2013 Christian Lavoie ([email protected])
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
\documentclass[10pt,letter,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')
\moderncvstyle{banking} % style options are 'casual' (default), 'classic', 'oldstyle' and 'banking'
\moderncvcolor{orange} % color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
\nopagenumbers{}
\usepackage[scale=0.75]{geometry} % adjust the page margins
\usepackage{xcolor}
\definecolor{white}{RGB}{255,255,255}
\definecolor{gray}{HTML}{4D4D4D}
\definecolor{maingray}{HTML}{B9B9B9}
\def\colwidth{5.33}
\def\barheight{0.05}
% \usepackage[T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{calc}
\newcommand\skills[1]{
\begin{tikzpicture}
\foreach [count=\i] \skillname/\years/\max in {#1}{
\draw[fill=maingray,maingray] (0,\i) rectangle (\colwidth,\i+\barheight);
\draw[fill=white,gray](0,\i) rectangle (\years/\max*\colwidth,\i+\barheight);
\node[above right] at (0,\i+\barheight) {\skillname\hspace{0.5em}--\hspace{0.5em}\years\hspace{0.25em}years};
}
\end{tikzpicture}
}
\newcommand\skill[1]{
\begin{tikzpicture}
\foreach [count=\i] \skillname/\years/\max in {#1}{
\draw[fill=maingray,maingray] (0,\i) rectangle (\colwidth,\i+\barheight);
\draw[fill=white,gray](0,\i) rectangle (\years/\max*\colwidth,\i+\barheight);
\node[above right] at (0,\i+\barheight) {\skillname\hspace{0.5em}--\hspace{0.5em}\years\hspace{0.25em}year};
}
\end{tikzpicture}
}
\newcommand\wideskills[1]{
\begin{tikzpicture}
\foreach [count=\i] \skillname/\years/\max in {#1}{
\draw[fill=maingray,maingray] (0,\i) rectangle (\colwidth,\i+\barheight);
\draw[fill=white,gray](0,\i) rectangle (\years/\max*\colwidth*3,\i+\barheight);
\node[above right] at (0,\i+\barheight) {\skillname\hspace{0.5em}--\hspace{0.5em}\years\hspace{0.25em}years};
}
\end{tikzpicture}
}
\usepackage{comment} % used for language selection
\includecomment{langen}
\excludecomment{langfr}
\input{header}
\begin{document}
\makecvtitle
\input{ic}
\end{document}