\ProvidesClass{darwiin-cv}[2015/10/04 v1.1 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} \definecolor{myBlue}{HTML}{191970} \colorlet{accent}{myBlue} % Setup hyperref package, and colours for links \definecolor{linkcolour}{rgb}{0,0.2,0.6} \hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour} \pagestyle{empty} % non-numbered pages \font\fb=''[cmr10]'' % for use with \LaTeX command % Setup CV sections \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} % Setup fonts \defaultfontfeatures{Mapping=tex-text} %\setmainfont[BoldFont = Helvetica Neue, ItalicFont=Helvetica Neue Thin Italic ,SmallCapsFont = Helvetica Neue Light]{Helvetica Neue Thin} \setmainfont[BoldFont = Source Sans Pro Semibold, ItalicFont=Source Sans Pro Light Italic,SmallCapsFont = Source Sans Pro]{Source Sans Pro Light} %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}{\enspace \faAngleRight \enspace} % Custom itemize to use with array \newcommand\link[2]{\href{#1}{#2} \faLink } \newcommand\important[1]{\textbf #1} % Render author's name % Usage: \user{}{} \newcommand\user[2]{\color{accent}{\LARGE #1 \textbf{#2}}\color{Black}} % Username % Render a text with its symbol % Usage; \socialtext{}{