summaryrefslogtreecommitdiffstats
path: root/ResumeMacros.sty
diff options
context:
space:
mode:
authorChristophe Roger <darwiinc@live.fr>2015-09-05 07:26:56 +1100
committerChristophe Roger <darwiinc@live.fr>2015-09-05 07:26:56 +1100
commit0a565e6ef4dfd09a07e1342bb712dd284dac7882 (patch)
tree9582c72210cc271a604cae30847421afb58e30b8 /ResumeMacros.sty
parentcb642e6cd8e4493706b97361e1277818df81b00e (diff)
downloadcv-0a565e6ef4dfd09a07e1342bb712dd284dac7882.tar.gz
cv-0a565e6ef4dfd09a07e1342bb712dd284dac7882.tar.bz2
cv-0a565e6ef4dfd09a07e1342bb712dd284dac7882.tar.xz
cv-0a565e6ef4dfd09a07e1342bb712dd284dac7882.zip
Added FontAwesome icons to section title
Added macro to handle section title Move some config elements to ResumeMacros.sty
Diffstat (limited to 'ResumeMacros.sty')
-rwxr-xr-xResumeMacros.sty31
1 files changed, 30 insertions, 1 deletions
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}}}
+