make header smaller, and align title to the name
This commit is contained in:
parent
17acd84c33
commit
b2978f7f0c
1 changed files with 5 additions and 4 deletions
|
@ -103,18 +103,19 @@ BoldItalicFont=texgyreheros-bolditalic.otf
|
||||||
|
|
||||||
\newcommand{\header}[3]{%
|
\newcommand{\header}[3]{%
|
||||||
\begin{tikzpicture}[remember picture,overlay]
|
\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) {%
|
\node [anchor=center] (name) at (box) {%
|
||||||
\fontsize{40pt}{72pt}\color{header}%
|
\fontsize{40pt}{72pt}\color{header}%
|
||||||
{\thinfont #1}{\bodyfont #2}
|
{\thinfont #1}{\bodyfont #2}
|
||||||
};
|
};
|
||||||
\node [anchor=north] at (name.south) {%
|
\node [anchor=north east] at (name.south east) {%
|
||||||
\fontsize{14pt}{24pt}\color{header}%
|
\fontsize{14pt}{24pt}\color{header}%
|
||||||
\thinfont #3%
|
\thinfont #3%
|
||||||
};
|
};
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
\vspace{2.5cm}
|
\vspace{2.0cm}
|
||||||
\vspace{-2\parskip}
|
\vspace{-8\parskip}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue