Simplify header command
This commit is contained in:
3
cv.tex
3
cv.tex
@@ -4,8 +4,7 @@
|
||||
\usepackage[normalem]{ulem}
|
||||
|
||||
\begin{document}
|
||||
{\Large \header{\huge Tim }{\huge Van den Eynde}
|
||||
{Computer Scientist / Software Developer}}
|
||||
\header{Tim Van den Eynde}{Computer Scientist / Software Developer}
|
||||
|
||||
|
||||
\begin{aside}
|
||||
|
||||
@@ -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