blob: 2d38f9d310dbfb510ecf53053372ec9afed2f96c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
\RequirePackage{boxedminipage}
%\RequirePackage{wrapfig}
%\RequirePackage{picinpar}
\newgeometry{left=1cm,top=1cm,bottom=1cm,right=1cm}
%Useful lengths
\newlength{\cvpicturewidth}\setlength{\cvpicturewidth}{3.2cm}
\setlength{\cvleftwidth}{4cm}
\setlength{\cvrightwidth}{8cm}
\setlength{\sectionrule}{13cm}
\newlength{\cvtitlecolumnwidth}\setlength{\cvtitlecolumnwidth}{5.5cm}
\newlength{\cvmaincolumnwidth}\setlength{\cvmaincolumnwidth}{13cm}
\newlength{\cvtitlewidth}\setlength{\cvtitlewidth}{10cm}
\newlength{\cvnamewidth}\setlength{\cvnamewidth}{8cm}
\newlength{\cvassetspanelwidth}\setlength{\cvassetspanelwidth}{12cm}
\newlength{\cvassetitemsep}\setlength{\cvassetitemsep}{0em}
\newlength{\cvassetspanelleftmargin}\setlength{\cvassetspanelleftmargin}{0cm}
\newlength{\cvcontactpanelwidth}\setlength{\cvcontactpanelwidth}{7cm}
% Set \emph command with "em" color
\DeclareTextFontCommand{\emph}{\color{main}}
\fancypagestyle{cvcompact}{
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyhf{}
% \lfoot{\mystyle[footnote]\@cvfirstname~\@cvlastname}
% \cfoot{\mystyle[footnote]\@ifundefined{@cvtitle}{}{\@cvtitle}}
% \rfoot{\mystyle[footnote]\thepage/\pageref{LastPage}}
}
\pagestyle{cvcompact}
\AtBeginDocument{\AtBeginShipoutNext{\AtBeginShipoutDiscard}}
\renewcommand*{\maketitle}{
\noindent
\begin{minipage}[t]{\cvtitlecolumnwidth}
{\mystyle[name]\@cvfirstname~\@cvlastname}\\
\@ifundefined{@cvpicture}{}{\centering\begin{minipage}[m]{\cvpicturewidth}\fboxsep=1mm\fboxrule=0.05pt\fcolorbox{black}{white}{\includegraphics[keepaspectratio=true,width=\cvpicturewidth]{\@cvpicture}}\end{minipage}\\}
\@ifundefined{@cvtitle}{}{{\mystyle[title]\@cvtitle}\\[0.5em]}
\@ifundefined{@cvquote}{}{{\mystyle[quote]\@cvquote}\\[0.5em]}
\begin{tabular}{@{}c@{}l@{}}\\
\renderassetifdefined{0}
\renderassetifdefined{1}
\renderassetifdefined{2}
\renderassetifdefined{3}
\renderassetifdefined{4}
\renderassetifdefined{5}
\renderassetifdefined{6}
\renderassetifdefined{7}
\renderassetifdefined{8}
\renderassetifdefined{9}\\
\cvcontactszone[main]
\cvcontactszone[social]
\cvcontactszone[extra]
\end{tabular}
\end{minipage}
\hfill
\noindent
\begin{minipage}[t]{\cvmaincolumnwidth}
}
\AtEndDocument{ %\end{minipage}}
\end{minipage}
}
\renewcommand*{\renderasset}[1]{ \mystyle[assetbullet]&\begin{tabular}[t]{>{\mystyle[asset]}l}\cvasset[#1]\end{tabular}\\[0.3em]}
\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
|