Add motivation env
This commit is contained in:
parent
00fb037971
commit
fb62bc4266
1 changed files with 15 additions and 0 deletions
15
bywyd.sty
15
bywyd.sty
|
@ -7,6 +7,8 @@
|
||||||
\newif\ifoption@blue
|
\newif\ifoption@blue
|
||||||
\DeclareOption{blue}{\option@bluetrue}
|
\DeclareOption{blue}{\option@bluetrue}
|
||||||
|
|
||||||
|
\pgfkeys{/@cv/names/motivation = Motivation}
|
||||||
|
|
||||||
\ProcessOptions
|
\ProcessOptions
|
||||||
\ifoption@fr
|
\ifoption@fr
|
||||||
% Langue
|
% Langue
|
||||||
|
@ -66,6 +68,19 @@
|
||||||
\g@addto@macro\cv@skillsTable{\\[\cvSkillSep]\tb\ #1 & \tb\ #2}
|
\g@addto@macro\cv@skillsTable{\\[\cvSkillSep]\tb\ #1 & \tb\ #2}
|
||||||
\fi
|
\fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\NewDocumentCommand{\cv@motivText}{}{}
|
||||||
|
\NewDocumentCommand{\cvMotivationText}{m}{
|
||||||
|
\RenewDocumentCommand{\cv@motivText}{}{#1}
|
||||||
|
}
|
||||||
|
\NewDocumentEnvironment{cvMotivation}{}{
|
||||||
|
\cv@Title{\pgfkeysvalueof{/@cv/names/motivation}}{\faBolt}
|
||||||
|
\RenewDocumentCommand{\cv@motivText}{}{}
|
||||||
|
}{
|
||||||
|
\node[below=\cvSectionSep of cv@title \the\value{cv@titlePrev}.south west,
|
||||||
|
anchor=north west] (skills)
|
||||||
|
{ \parbox{\cvMainWidth}{\cv@motivText} };
|
||||||
|
}
|
||||||
\makeatother
|
\makeatother
|
||||||
|
|
||||||
% Souligne mieux les mots
|
% Souligne mieux les mots
|
||||||
|
|
Loading…
Reference in a new issue