diff options
-rwxr-xr-x | ResumeMacros.sty | 9 | ||||
-rwxr-xr-x | cv.tex | 10 |
2 files changed, 12 insertions, 7 deletions
diff --git a/ResumeMacros.sty b/ResumeMacros.sty new file mode 100755 index 0000000..1659303 --- /dev/null +++ b/ResumeMacros.sty @@ -0,0 +1,9 @@ +\ProvidesPackage{ResumeMacros}[2015/08/19 v0.8 ResumeMacros] + +\RequirePackage{fontawesome} + +\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}
\ No newline at end of file @@ -17,13 +17,15 @@ \usepackage{longtable} %for Grades
\usepackage{titlesec} %custom \section
\usepackage[margin=1.5cm]{geometry}
-\usepackage{fontawesome}
+
%Setup hyperref package, and colours for links
\usepackage{hyperref}
\definecolor{linkcolour}{rgb}{0,0.2,0.6}
\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}
+\usepackage{ResumeMacros}
+
%FONTS
\defaultfontfeatures{Mapping=tex-text}
%\setmainfont[SmallCapsFont = Fontin Sans Small Caps]{Fontin Sans Regular}
@@ -35,12 +37,6 @@ %Tweak a bit the top margin
%\addtolength{\voffset}{-1.3cm}
-%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}
\newlength{\datebox}
\settowidth{\datebox}{Décembre 2009}
|