Simplify header command
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user