summaryrefslogtreecommitdiffstats
path: root/darwiin-cv.cls
diff options
context:
space:
mode:
authorChristophe Roger <darwiinc@live.fr>2016-09-06 18:50:56 +1100
committerChristophe Roger <darwiinc@live.fr>2016-09-06 18:50:56 +1100
commitf3db8a12f1b6cbe4eb5c0b31234eb1d1d1b5c9f0 (patch)
tree882aa6839ac0686c2c4a5b862cbc5d8c1f650d1d /darwiin-cv.cls
parent1876b4408e1576952b4ef1807cc0a5773dde4daf (diff)
downloadcv-f3db8a12f1b6cbe4eb5c0b31234eb1d1d1b5c9f0.tar.gz
cv-f3db8a12f1b6cbe4eb5c0b31234eb1d1d1b5c9f0.tar.bz2
cv-f3db8a12f1b6cbe4eb5c0b31234eb1d1d1b5c9f0.tar.xz
cv-f3db8a12f1b6cbe4eb5c0b31234eb1d1d1b5c9f0.zip
Adding commentary on cls
Changing icon on skills section
Diffstat (limited to 'darwiin-cv.cls')
-rwxr-xr-xdarwiin-cv.cls23
1 files changed, 9 insertions, 14 deletions
diff --git a/darwiin-cv.cls b/darwiin-cv.cls
index 21aadd3..d39be76 100755
--- a/darwiin-cv.cls
+++ b/darwiin-cv.cls
@@ -29,12 +29,12 @@
\titleformat{\section}{\Large\raggedright}{}{0em}{}[\titlerule]
\titlespacing{\section}{0pt}{2pt}{2pt}
+% Configure list
\setlist[itemize,1]{label=\faAngleRight, nosep, leftmargin=2em}
% Setup Array : new column type
\newcolumntype{R}[1]{>{\hfill}m{#1}}
-
%Italian hyphenation for the word: ''corporations''
\hyphenation{im-pre-se}
@@ -42,7 +42,6 @@
\defaultfontfeatures{Mapping=tex-text}
\setmainfont[BoldFont = Helvetica Neue, ItalicFont=Helvetica Neue Thin Italic ,SmallCapsFont = Helvetica Neue Light]{Helvetica Neue Thin}
-
%New length definition
\newlength{\datebox}
\settowidth{\datebox}{Décembre 2009}
@@ -55,17 +54,13 @@
% Macros
\newcommand{\el}{\enspace \faAngleRight \enspace} % Custom itemize to use with array
-\newcommand\user[2]{\color{Blue}{\LARGE #1 #2}\color{Black}} % Username
-%\newcommand\linkedin[2]{\faLinkedin \enspace \href{#1}{#2}} % Linkedin icon + URL
-%\newcommand\viadeo[2]{\faViadeo \enspace \href{#1}{#2}} % Viadeo icon + URL
-%\newcommand\github[2]{\faGithub \enspace \href{#1}{#2}} % Github icon + URL
-%\newcommand\address[1]{\faMapMarker \enspace #1} % Home icon + address as parameter
-%\newcommand\infos[1]{\faInfo \enspace #1} % I icon
-%\newcommand\smartphone[1]{\faMobilePhone \enspace #1} % Smartphone Icon
-%\newcommand\email[2]{\faAt \enspace \href{mailto:#1}{#2}} % Envelope Icon + mailto link
+
\newcommand\link[2]{\href{#1}{#2} \faLink }
\newcommand\important[1]{\textbf #1}
+% Render author's name
+% Usage: \user{<firstanme>}{<lastname>}
+\newcommand\user[2]{\color{Blue}{\LARGE #1 #2}\color{Black}} % Username
% Render a text with its symbol
% Usage; \socialtext{<icon>}{<label>}
@@ -114,21 +109,21 @@
\newcommand\resumetitle[1]{
\par{
- \bigskip\center{\Large #1}\par
+ \bigskip\center{\Large \color{Blue}#1\color{Black}}\par
}
\bigskip
}
+% Define social entries to print in header
\newcommand{\socialinfo}[1]{\def\@socialinfo{#1}}
+% Render CV header
+% Needs \firstname and \lastname to be defined
\newcommand{\makecvheader}{
\user{\@firstname}{\@lastname}\\
\small{\@socialinfo}
-% \renderAddress{\@address}\\
-% \renderInfos{\@infos}
}
-
%Resume part title definition
\newcommand\sectionTitle[2]{\section{\texorpdfstring{\color{Blue}#2\enspace #1}{#1}}}