Simplify header command

This commit is contained in:
Timvde
2018-06-13 23:46:41 +02:00
parent a362635963
commit 6c3213e674
2 changed files with 4 additions and 5 deletions

View File

@@ -32,16 +32,16 @@
\RequirePackage{tikz}
\newcommand{\header}[3]{%
\newcommand{\header}[2]{%
\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}%
{#1}{#2}
{\huge #1}
};
\node [anchor=north] at (name.south) {%
\fontsize{14pt}{24pt}\color{header}%
#3%
{\Large #2}%
};
\end{tikzpicture}
\vspace{2.5cm}