Bonjour à tous,
Voilà je bloque sur un truc assez simple, je refais mon CV sous Latex et j'aimerais rajouter une photo à cet endroit :
Le modèle que j'utilise crée un rectangle gris avec {tikz} mais je n'arrive pas à positionner mon image par rapport à celui-ci...
Voici comment est le header :
--------------------------------------------------------------------------------------
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 \RequirePackage{tikz} \newcommand{\rolefont}{% \fontsize{14pt}{24pt}\selectfont% \thinfont% \color{white}% } \newcommand{\header}[3]{% \begin{tikzpicture}[remember picture,overlay] \node [rectangle, fill=fillheader, anchor=north, minimum width=\paperwidth, minimum height=4cm] (box) at (current page.north){}; \node [anchor=center] (name) at (box) {% \fontsize{40pt}{72pt}\color{header}% {\thinfont #1}{\bodyfont #2} }; \node [anchor=north] at (name.south) {% \fontsize{14pt}{24pt}\color{header}% \thinfont #3% }; \end{tikzpicture} \vspace{2.5cm} \vspace{-2\parskip} }
J'avais pensé à ça :
Mais il ne peut pas compiler et étant débutant je bloque un peu là ^^
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 \newcommand{\header}[4]{% . . . \node [anchor=north west] \includegraphics[scale=0.02]{Photo.jpg} };
Merci d'avance pour votre aide,
J.Baptiste
Partager