summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcv.tex2
-rwxr-xr-xdarwiin-awesome-cv.cls2
-rwxr-xr-xdarwiin-cv.cls101
3 files changed, 103 insertions, 2 deletions
diff --git a/cv.tex b/cv.tex
index 3de5159..6ab1f43 100755
--- a/cv.tex
+++ b/cv.tex
@@ -1,6 +1,6 @@
% !TEX TS-program = xelatex
-\documentclass{darwiin-awesome-cv}
+\documentclass{darwiin-cv}
\usepackage{DemoMode}
diff --git a/darwiin-awesome-cv.cls b/darwiin-awesome-cv.cls
index f411d88..69ddb36 100755
--- a/darwiin-awesome-cv.cls
+++ b/darwiin-awesome-cv.cls
@@ -1,4 +1,4 @@
-\ProvidesClass{darwiin-awesome-cv}[2015/10/04 v1.0 Christophe ROGER CV Class]
+\ProvidesClass{darwiin-cv}[2015/10/04 v1.0 Christophe ROGER CV Class]
\LoadClass[11pt,a4paper]{article}
diff --git a/darwiin-cv.cls b/darwiin-cv.cls
new file mode 100755
index 0000000..69ddb36
--- /dev/null
+++ b/darwiin-cv.cls
@@ -0,0 +1,101 @@
+\ProvidesClass{darwiin-cv}[2015/10/04 v1.0 Christophe ROGER CV Class]
+
+\LoadClass[11pt,a4paper]{article}
+
+% Dependences
+%A Few Useful Packages
+\RequirePackage[frenchb]{babel}
+\RequirePackage[T1]{fontenc}
+\RequirePackage{fontspec} % for loading fonts
+\RequirePackage{xunicode,xltxtra,url,parskip} % other packages for formatting
+\RequirePackage[usenames,dvipsnames]{xcolor}
+\RequirePackage{fullpage}
+\RequirePackage[margin=1.5cm]{geometry}
+\RequirePackage{fontawesome}
+\RequirePackage{hyperref}
+\RequirePackage{titlesec}
+\RequirePackage{array}
+\RequirePackage{enumitem}
+\RequirePackage{longtable}
+
+
+
+
+% Setup hyperref package, and colours for links
+\definecolor{linkcolour}{rgb}{0,0.2,0.6}
+\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}
+
+% Setup CV sections
+\titleformat{\section}{\Large\raggedright}{}{0em}{}[\titlerule]
+\titlespacing{\section}{0pt}{2pt}{2pt}
+
+% Setup Array : new column type
+\newcolumntype{R}[1]{>{\hfill}m{#1}}
+
+
+%Italian hyphenation for the word: ''corporations''
+\hyphenation{im-pre-se}
+
+% Setup fonts
+\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}
+
+\newlength{\rightcolumnlength}
+\setlength{\rightcolumnlength}{14.8cm}
+
+\newlength{\leftcolumn}
+\setlength{\leftcolumn}{2.5cm}
+
+% Macros
+\newcommand{\el}{\quad \faAngleRight \enspace} % Custom itemize to use with array
+\newcommand\user[2]{\color{Blue}{\LARGE #1 #2}\color{Black}} % Username
+\newcommand\linkedin[2]{\faLinkedin \quad \href{#1}{#2}} % Linkedin icon + URL
+\newcommand\address[1]{\faHome \quad #1} % Home icon + address as parameter
+\newcommand\infos[1]{\faInfo \quad #1}
+\newcommand\smartphone[1]{\faMobilePhone \quad #1}
+\newcommand\email[2]{\faEnvelope \quad \href{mailto:#1}{#2}}
+\newcommand\link[2]{\href{#1}{#2} \faLink }
+\newcommand\important[1]{\textbf #1}
+
+\newcommand\resumetitle[1]{
+ \par{
+ \bigskip\center{\Large #1}\par
+ }
+ \bigskip
+}
+
+
+
+
+%Resume part title definition
+\newcommand\sectionTitle[2]{\section{\texorpdfstring{\color{Blue}#2\enspace #1}{#1}}}
+
+\newenvironment{experiences}{%
+ \begin{longtable}{R{\leftcolumn}|p{\rightcolumnlength}}
+}{%
+ \end{longtable}
+}
+
+\newcommand\experience[7]{
+ \textsc{#1} & \textsc{#2, #3, #4} \\
+ \textsc{#5} & \begin{minipage}[t]{\rightcolumnlength}
+ #6
+ \end{minipage} \\
+ & \footnotesize{\emph{Technologies utilisées:} #7 } \\
+ }
+
+\newcommand\consultantexperience[9]{
+ \textsc{#1} & \textsc{#2, #3, #4} \\
+ \textsc{#5} & \emph{#6} pour #7 \\
+ & \begin{minipage}[t]{\rightcolumnlength}
+ #8
+ \end{minipage} \\
+ & \footnotesize{\emph{Technologies utilisées:} #9 } \\
+ }
+
+\newcommand\emptySeparator{\multicolumn{2}{c}{}\\}