From 0a565e6ef4dfd09a07e1342bb712dd284dac7882 Mon Sep 17 00:00:00 2001
From: Christophe Roger <darwiinc@live.fr>
Date: Sat, 5 Sep 2015 07:26:56 +1100
Subject: Added FontAwesome icons to section title Added macro to handle
 section title Move some config elements to ResumeMacros.sty

---
 ResumeMacros.sty | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

(limited to 'ResumeMacros.sty')

diff --git a/ResumeMacros.sty b/ResumeMacros.sty
index 968c7ed..153ba19 100755
--- a/ResumeMacros.sty
+++ b/ResumeMacros.sty
@@ -2,10 +2,39 @@
 
 \RequirePackage{fontawesome}
 
+%Config
+%Setup hyperref package, and colours for links
+\RequirePackage{hyperref}
+\definecolor{linkcolour}{rgb}{0,0.2,0.6}
+\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}
+
+%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}
+
+% 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\infos[1]{\faInfo \quad #1}
 \newcommand\smartphone[1]{\faMobilePhone \quad #1}
-\newcommand\email[2]{\faEnvelope \quad \href{mailto:#1}{#2}}
\ No newline at end of file
+\newcommand\email[2]{\faEnvelope \quad \href{mailto:#1}{#2}}
+
+\newcommand\resumetitle[1]{
+	\par{
+		\bigskip\center{\Large #1}\par
+	}
+	\bigskip
+}
+%Resume part title definition
+\newcommand\sectiontitle[2]{\section{\texorpdfstring{\color{Blue}#2\enspace #1}{#1}}}
+
-- 
cgit v1.2.3

