\ProvidesClass{source-awesome-cv}[2016/09/20 v1.2 Source Awesome CV Class] \LoadClass[11pt,a4paper]{article} \newcommand{\setColors}[3] { \newcommand{\accentColor}{\color{#1}} \newcommand{\linkColor}{\color{#1}} \newcommand{\symbolcolor}{\textcolor{#1}} } \setColors{Blue}{Blue}{Blue} \DeclareOption{green}{ \renewcommand{\accentColor}{\color{PineGreen}} \renewcommand{\linkColor}{\color{PineGreen}} \renewcommand{\symbolcolor}{\textcolor{PineGreen}} } \DeclareOption{red}{ \renewcommand{\accentColor}{\color{Red}} \renewcommand{\linkColor}{\color{Red}} \renewcommand{\symbolcolor}{\textcolor{Red}} } \DeclareOption{myBlue}{ \renewcommand{\accentColor}{\color{myBlue}} \renewcommand{\linkColor}{\color{myBlue}} \renewcommand{\symbolcolor}{\textcolor{myBlue}} } \ProcessOptions % 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}{FF9B1C} % Setup hyperref package, and colours for links \definecolor{linkcolour}{rgb}{0,0.2,0.6} \hypersetup{breaklinks} \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{\mailSymbol}{\faAt} \newcommand{\locationSymbol}{\faMapMarker} \newcommand{\infoSymbol}{\faInfo} \newcommand{\linkedinSymbol}{\faLinkedin} \newcommand{\viadeoSymbol}{\faViadeo} \newcommand{\mobileSymbol}{\faMobilePhone} \newcommand{\githubSymbol}{\faGithub} \newcommand\link[2]{\linkColor\href{#1}{#2}\color{Black} } \newcommand\important[1]{\textbf #1} % Render author's name % Usage: \user{}{} \newcommand\user[2]{\accentColor{\LARGE #1 \textbf{#2}}\color{Black}} % Username % Render a text with its symbol % Usage; \socialtext{}{