make header smaller, and align title to the name

This commit is contained in:
Paul Lesur 2019-05-28 11:40:50 +02:00 committed by Paul Lesur
parent 17acd84c33
commit b2978f7f0c

View file

@ -103,18 +103,19 @@ BoldItalicFont=texgyreheros-bolditalic.otf
\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 [rectangle, fill=fillheader, anchor=north, minimum width=\paperwidth,
minimum height=3cm] (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) {%
\node [anchor=north east] at (name.south east) {%
\fontsize{14pt}{24pt}\color{header}%
\thinfont #3%
};
\end{tikzpicture}
\vspace{2.5cm}
\vspace{-2\parskip}
\vspace{2.0cm}
\vspace{-8\parskip}
}