summaryrefslogtreecommitdiffstats
path: root/ResumeMacros.sty
diff options
context:
space:
mode:
authorChristophe Roger <darwiinc@live.fr>2015-09-30 05:04:40 +1100
committerChristophe Roger <darwiinc@live.fr>2015-09-30 05:04:40 +1100
commit5a23c62dedf39a40bbfd759e23be94cae22dc51f (patch)
tree1360c6b8c62ebdb20e48021fa30d043ad2939b99 /ResumeMacros.sty
parent80d79b6904ab263c261cfce7f657e85b00475126 (diff)
downloadcv-5a23c62dedf39a40bbfd759e23be94cae22dc51f.tar.gz
cv-5a23c62dedf39a40bbfd759e23be94cae22dc51f.tar.bz2
cv-5a23c62dedf39a40bbfd759e23be94cae22dc51f.tar.xz
cv-5a23c62dedf39a40bbfd759e23be94cae22dc51f.zip
Updated macros and content
Diffstat (limited to 'ResumeMacros.sty')
-rwxr-xr-xResumeMacros.sty68
1 files changed, 57 insertions, 11 deletions
diff --git a/ResumeMacros.sty b/ResumeMacros.sty
index 153ba19..06b946d 100755
--- a/ResumeMacros.sty
+++ b/ResumeMacros.sty
@@ -1,33 +1,55 @@
\ProvidesPackage{ResumeMacros}[2015/08/19 v0.8 ResumeMacros]
+% Dependences
\RequirePackage{fontawesome}
-
-%Config
-%Setup hyperref package, and colours for links
\RequirePackage{hyperref}
+\RequirePackage{titlesec}
+\RequirePackage{array}
+\RequirePackage{enumitem}
+\RequirePackage{longtable}
+
+
+
+% Setup hyperref package, and colours for links
\definecolor{linkcolour}{rgb}{0,0.2,0.6}
\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}
-%FONTS
+% Setup CV sections
+\titleformat{\section}{\Large\raggedright}{}{0em}{}[\titlerule]
+\titlespacing{\section}{0pt}{2pt}{2pt}
+
+% 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}
-%CV Sections
-\titleformat{\section}{\Large\raggedright}{}{0em}{}[\titlerule]
-\titlespacing{\section}{0pt}{2pt}{2pt}
%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}{\quad - \enspace}
-\newcommand\user[2]{\color{Blue}{\LARGE #1 #2}\color{Black}}
-\newcommand\linkedin[2]{\faLinkedin \quad \href{#1}{#2}}
-\newcommand\address[1]{\faHome \quad #1}
+\newcommand{\el}{\quad \faAngleRight \enspace} % Custom itemize to use with array
+\newcommand\user[2]{\color{Blue}{\LARGE #1 #2}\color{Black}} % Username
+\newcommand\linkedin[2]{\faLinkedin \quad \href{#1}{#2}} % Linkedin icon + URL
+\newcommand\address[1]{\faHome \quad #1} % Home icon + address as parameter
\newcommand\infos[1]{\faInfo \quad #1}
\newcommand\smartphone[1]{\faMobilePhone \quad #1}
\newcommand\email[2]{\faEnvelope \quad \href{mailto:#1}{#2}}
+\newcommand\link[2]{\href{#1}{#2} \faLink }
+\newcommand\important[1]{\textbf #1}
\newcommand\resumetitle[1]{
\par{
@@ -38,3 +60,27 @@
%Resume part title definition
\newcommand\sectiontitle[2]{\section{\texorpdfstring{\color{Blue}#2\enspace #1}{#1}}}
+\newenvironment{experiences}{%
+ \begin{longtable}{R{\leftcolumn}|p{\rightcolumnlength}}
+}{%
+ \end{longtable}
+}
+
+\newcommand\entry[7]{
+ \textsc{#1} & \textsc{#2, #3, #4} \\
+ \textsc{#5} & \begin{minipage}[t]{\rightcolumnlength}
+ #6
+ \end{minipage} \\
+ & \footnotesize{\emph{Technologies utilisées:} #7 } \\
+ }
+
+\newcommand\consultantentry[9]{
+ \textsc{#1} & \textsc{#2, #3, #4} \\
+ \textsc{#5} & \emph{#6} pour #7 \\
+ & \begin{minipage}[t]{\rightcolumnlength}
+ #8
+ \end{minipage} \\
+ & \footnotesize{\emph{Technologies utilisées:} #9 } \\
+ }
+
+\newcommand\expitemsep{\multicolumn{2}{c}{}\\}