%Useful lengths \newlength{\cvtitlewidth}\setlength{\cvtitlewidth}{8cm} \newlength{\cvnamewidth}\setlength{\cvnamewidth}{6cm} \newlength{\cvpicturewidth}\setlength{\cvpicturewidth}{2.4cm} \newlength{\cvassetspanelwidth}\setlength{\cvassetspanelwidth}{12cm} \newlength{\cvassetitemsep}\setlength{\cvassetitemsep}{0.4em} \newlength{\cvassetspanelleftmargin}\setlength{\cvassetspanelleftmargin}{1cm} \newlength{\cvcontactpanelwidth}\setlength{\cvcontactpanelwidth}{7cm} \renewcommand*{\maketitle}{ \DeclareTextFontCommand{\emph}{\color{contrastmain}} \colorlet{iconstemp}{icons} \colorlet{icons}{contrast} \hspace*{-1\marginparwidth}\colorbox{title}{\hspace*{\marginparwidth}\begin{minipage}{\paperwidth} \@ifundefined{@cvpicture}{}{\begin{minipage}[m]{\cvpicturewidth}\fboxsep=1mm\fboxrule=0.05pt\fcolorbox{black}{white}{\includegraphics[keepaspectratio=true,width=\cvpicturewidth]{\@cvpicture}}\end{minipage}\hspace{2ex}} \begin{minipage}[m]{\cvtitlewidth} \mystyle[name]\color{contrast}{\@ifundefined{@cvacademictitle}{}{\small\@cvacademictitle~}}\@cvfirstname~\@cvlastname \@ifundefined{@cvtitle}{}{{\\\mystyle[title]\color{contrast}\@cvtitle}} \end{minipage}\hfill \begin{minipage}[m]{\cvassetspanelwidth} \ifcvasset[0]{\begin{list}{\mystyle[assetbullet]}{\setlength{\leftmargin}{\cvassetspanelleftmargin}} \setlength{\itemsep}{\cvassetitemsep} \renderassetifdefined{0} \renderassetifdefined{1} \renderassetifdefined{2} \renderassetifdefined{3} \renderassetifdefined{4} \renderassetifdefined{5} \renderassetifdefined{6} \renderassetifdefined{7} \renderassetifdefined{8} \renderassetifdefined{9} \end{list}}{} \end{minipage} \end{minipage}}\\[3ex] \colorlet{icons}{iconstemp} \@ifundefined{@cvquote}{}{{\centering\mystyle[quote]\@cvquote\\[2ex]}} \begin{minipage}[t]{0.3\textwidth} \begin{tabular}[t]{@{}c@{}l@{}} \rendercontactifdefined{email} \rendercontactifdefined{homepage} \rendercontactifdefined{homepagessl} \rendercontactifdefined{customhomepage} \rendercontactifdefined{cellphone} \rendercontactifdefined{phone} \rendercontactifdefined{fax} \end{tabular} \end{minipage} \hfill \begin{minipage}[t]{0.3\textwidth} \begin{tabular}[t]{@{}c@{}l@{}} \rendercontactifdefined{github} \rendercontactifdefined{linkedin} \rendercontactifdefined{twitter} \rendercontactifdefined{googleplus} \rendercontactifdefined{facebook} \rendercontactifdefined{vk} \rendercontactifdefined{pinterest} \end{tabular} \end{minipage} \DeclareTextFontCommand{\emph}{\color{main}} \hfill \begin{minipage}[t]{0.3\textwidth} \begin{tabular}[t]{@{}c@{}l@{}} \rendercontactifdefined{age} \rendercontactifdefined{spokenlanguages} \rendercontactifdefined{address} \end{tabular} \end{minipage}\\ \\[1em] } \renewcommand*{\renderasset}[1]{\item{\mystyle[asset]\color{contrast} \cvasset[#1]}} \renewcommand*{\renderassetifdefined}[1]{\ifcvasset[#1]{\renderasset{#1}}{\ignorespaces}} \renewcommand*{\rendercontact}[1]{\mystyle[#1bullet] & \begin{tabular}[t]{>{\mystyle[#1]}l}\cvcontactlink{#1}\end{tabular} \\[0.3em]} \renewcommand*{\rendercontactifdefined}[1]{\ifcvcontact[#1]{\rendercontact{#1}}{\ignorespaces}} \endinput