\ProvidesClass{yaac-another-awesome-cv}[2018/07/19 v1.9.2 'YAAC: Another Awesome CV' Class] \LoadClass[a4paper]{article} \newif\if@showLinks \@showLinksfalse \DeclareOption{showLinks}{ \@showLinkstrue} \ProcessOptions % Dependences %A Few Useful Packages \RequirePackage[english,french]{babel} \RequirePackage{url,parskip} % other packages for formatting \RequirePackage[usenames,dvipsnames]{xcolor} \RequirePackage{fullpage} \RequirePackage[margin=1.5cm]{geometry} \RequirePackage{hyperref} \RequirePackage{titlesec} \RequirePackage{array} \RequirePackage{enumitem} \RequirePackage{longtable} \RequirePackage{etoolbox} \RequirePackage{tikz} \RequirePackage[skins]{tcolorbox} \RequirePackage{fancyhdr} % Define default accent colors \definecolor{basecolor}{HTML}{000066} %BLUE \ifundef{\@green} { \ifundef{\@red} { \ifundef{\@indigo}{ \ifundef{\@orange} { \ifundef{\@monochrome} {} { \definecolor{basecolor}{HTML}{000000}} } { \definecolor{basecolor}{HTML}{e68a00} } } { \definecolor{basecolor}{rgb}{0.2, 0.07, 0.48} } } { \definecolor{basecolor}{HTML}{b30000} } %RED } { \definecolor{basecolor}{rgb}{0.0, 0.62, 0.38} } \definecolor{darkGrey}{HTML}{989898} \colorlet{linkcolor}{basecolor} \colorlet{accentcolor}{linkcolor!90} \colorlet{symbolcolor}{linkcolor!85} % Setup hyperref package, and colours for links %\definecolor{linkcolour}{rgb}{0,0.2,0.6} \if@showLinks \hypersetup{% breaklinks }% \else \hypersetup{% pdfborder = {0 0 0}, breaklinks }% \fi % Setup fancyhdr package \fancyhf{} \fancyhfoffset{0em} % Remove head rule \renewcommand{\headrulewidth}{0pt} %\fancyfoot[C]{\thepage} \pagestyle{fancy} %\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=-, nosep, leftmargin=2em} \setlist[itemize,2]{label=-, nosep, leftmargin=1.5em} % Setup Array : new column type \newcolumntype{R}[1]{>{\hfill}m{#1}} %Italian hyphenation for the word: ''corporations'' \hyphenation{im-pre-se} %New length definition \newlength{\rightcolumnlength} \setlength{\rightcolumnlength}{14.8cm} \newlength{\leftcolumn} \setlength{\leftcolumn}{2.5cm} \newcommand{\cvtag}[1]{% \tikz[baseline]\node[anchor=base,draw=darkGrey!70,rounded corners=0.5ex,inner xsep=1ex,inner ysep =0.55ex,text height=1.3ex,text depth=.25ex]{#1}; } % % Render author's name % % Usage: \user{}{} % \newcommand\user[2]{\color{accentcolor}{\LARGE #1 \textsc{\textbf{#2}}}\color{Black}} % % % Render a text with its symbol % % Usage; \socialtext{}{