diff --git a/bywyd.sty b/bywyd.sty index 599e8ea..acb9b2b 100644 --- a/bywyd.sty +++ b/bywyd.sty @@ -9,21 +9,21 @@ \ProcessOptions \ifoption@fr - % Langue - \RequirePackage[french]{babel} - \RequirePackage{csquotes} - \MakeOuterQuote{"} - \AtBeginDocument{ - \cvSetLanguage{french} - \pgfkeys{/@cv/names/education = Formations} - \pgfkeys{/@cv/names/experience = Expériences professionnelles} - } +% Langue +\RequirePackage[french]{babel} +\RequirePackage{csquotes} +\MakeOuterQuote{"} +\AtBeginDocument{ + \cvSetLanguage{french} + \pgfkeys{/@cv/names/education = Formations} + \pgfkeys{/@cv/names/experience = Expériences professionnelles} +} \fi \ifoption@blue - % Thème bleue - \definecolor{cvGreenLight}{HTML}{99ecff} % Barre - \definecolor{cvGreen}{HTML}{75b0d8} % Couleur accent - \definecolor{cvAccent}{HTML}{3a3e66} % Texte barre +% Thème bleue +\definecolor{cvGreenLight}{HTML}{99ecff} % Barre +\definecolor{cvGreen}{HTML}{75b0d8} % Couleur accent +\definecolor{cvAccent}{HTML}{3a3e66} % Texte barre \fi \RequirePackage[margin=\cvMargin,top=0pt,bottom=0pt]{geometry} @@ -42,12 +42,13 @@ \AtBeginDocument{ \hypersetup{ pdfauthor={\@authorfname\ \@authorlname}, - pdftitle={\@authorfname\ \@authorlname\ – \@documenttitle}, + pdftitle={\@authorfname\ \@authorlname\ - \@documenttitle}, pdfsubject={curriculum vit\ae\ de \@authorfname\ \@authorlname}, pdfkeywords={\@authorfname\ \@authorlname, curriculum vit\ae}, pdfcreator={LaTeX with limecv class and bywyd template}, % Cache les liens - hidelinks} + hidelinks + } } % Alias @@ -57,12 +58,12 @@ \makeatletter \NewDocumentCommand{\cvSkillTwoNR}{mm}{ \ifcv@firstskill - \color{black} - \g@addto@macro\cv@skillsTable{\tb\ #1 & \tb\ #2} - \cv@firstskillfalse + \color{black} + \g@addto@macro\cv@skillsTable{\tb\ #1 & \tb\ #2} + \cv@firstskillfalse \else - \color{black} - \g@addto@macro\cv@skillsTable{\\[\cvSkillSep]\tb\ #1 & \tb\ #2} + \color{black} + \g@addto@macro\cv@skillsTable{\\[\cvSkillSep]\tb\ #1 & \tb\ #2} \fi } \makeatother diff --git a/examples/cv.tex b/examples/cv.tex index 99953c8..91e6999 100644 --- a/examples/cv.tex +++ b/examples/cv.tex @@ -9,7 +9,7 @@ \begin{document} \begin{cvSidebar} - \cvID{\cvFirstname}{\cvLastname}{}{\cvTitle} + \cvID{\cvFirstname}{\cvLastname}{}{\cvTitle} \end{cvSidebar} \begin{cvMainContent}