From 1876b4408e1576952b4ef1807cc0a5773dde4daf Mon Sep 17 00:00:00 2001 From: Christophe Roger Date: Tue, 6 Sep 2016 18:30:30 +1100 Subject: New macros to create headline Changes to be committed: modified: cv.tex modified: darwiin-cv.cls --- cv.tex | 19 ++++++++------- darwiin-cv.cls | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 76 insertions(+), 18 deletions(-) diff --git a/cv.tex b/cv.tex index a0eb5d7..4c6f2ee 100755 --- a/cv.tex +++ b/cv.tex @@ -2,18 +2,21 @@ \documentclass{darwiin-cv} -%Italian hyphenation for the word: ''corporations'' -\hyphenation{im-pre-se} +\name{Christophe}{ROGER} +\socialinfo{ + \linkedin{christopheroger} + \viadeo{christopheroger} + \github{darwiin}\\ + \smartphone{+687 123 456} + \email{christophe.roger@mail.com}\\ + \address{2 Rue du quartier, 98765 Ville, Pays}\\ + \infos{Né le 23 septembre 1982 (33 ans) à Nouméa, Nouvelle-Calédonie} +} %------------------------------------------ \begin{document} -\setlist[itemize,1]{label=\faAngleRight, nosep, leftmargin=2em} - -\pagestyle{empty} % non-numbered pages -\font\fb=''[cmr10]'' % for use with \LaTeX command - -\input{section_perso} % Personal data section +\makecvheader \resumetitle{Architecte logiciel | Développeur/Concepteur JEE} diff --git a/darwiin-cv.cls b/darwiin-cv.cls index ff1d227..21aadd3 100755 --- a/darwiin-cv.cls +++ b/darwiin-cv.cls @@ -18,17 +18,19 @@ \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} +\pagestyle{empty} % non-numbered pages +\font\fb=''[cmr10]'' % for use with \LaTeX command + % Setup CV sections \titleformat{\section}{\Large\raggedright}{}{0em}{}[\titlerule] \titlespacing{\section}{0pt}{2pt}{2pt} +\setlist[itemize,1]{label=\faAngleRight, nosep, leftmargin=2em} + % Setup Array : new column type \newcolumntype{R}[1]{>{\hfill}m{#1}} @@ -54,16 +56,62 @@ % Macros \newcommand{\el}{\enspace \faAngleRight \enspace} % Custom itemize to use with array \newcommand\user[2]{\color{Blue}{\LARGE #1 #2}\color{Black}} % Username -\newcommand\linkedin[2]{\faLinkedin \enspace \href{#1}{#2}} % Linkedin icon + URL -\newcommand\viadeo[2]{\faViadeo \enspace \href{#1}{#2}} % Viadeo icon + URL -\newcommand\github[2]{\faGithub \enspace \href{#1}{#2}} % Github icon + URL -\newcommand\address[1]{\faMapMarker \enspace #1} % Home icon + address as parameter -\newcommand\infos[1]{\faInfo \enspace #1} % I icon -\newcommand\smartphone[1]{\faMobilePhone \enspace #1} % Smartphone Icon -\newcommand\email[2]{\faAt \enspace \href{mailto:#1}{#2}} % Envelope Icon + mailto link +%\newcommand\linkedin[2]{\faLinkedin \enspace \href{#1}{#2}} % Linkedin icon + URL +%\newcommand\viadeo[2]{\faViadeo \enspace \href{#1}{#2}} % Viadeo icon + URL +%\newcommand\github[2]{\faGithub \enspace \href{#1}{#2}} % Github icon + URL +%\newcommand\address[1]{\faMapMarker \enspace #1} % Home icon + address as parameter +%\newcommand\infos[1]{\faInfo \enspace #1} % I icon +%\newcommand\smartphone[1]{\faMobilePhone \enspace #1} % Smartphone Icon +%\newcommand\email[2]{\faAt \enspace \href{mailto:#1}{#2}} % Envelope Icon + mailto link \newcommand\link[2]{\href{#1}{#2} \faLink } \newcommand\important[1]{\textbf #1} + +% Render a text with its symbol +% Usage; \socialtext{}{