Simplify header command
This commit is contained in:
3
cv.tex
3
cv.tex
@@ -4,8 +4,7 @@
|
|||||||
\usepackage[normalem]{ulem}
|
\usepackage[normalem]{ulem}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
{\Large \header{\huge Tim }{\huge Van den Eynde}
|
\header{Tim Van den Eynde}{Computer Scientist / Software Developer}
|
||||||
{Computer Scientist / Software Developer}}
|
|
||||||
|
|
||||||
|
|
||||||
\begin{aside}
|
\begin{aside}
|
||||||
|
|||||||
@@ -32,16 +32,16 @@
|
|||||||
|
|
||||||
\RequirePackage{tikz}
|
\RequirePackage{tikz}
|
||||||
|
|
||||||
\newcommand{\header}[3]{%
|
\newcommand{\header}[2]{%
|
||||||
\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=4cm] (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}%
|
||||||
{#1}{#2}
|
{\huge #1}
|
||||||
};
|
};
|
||||||
\node [anchor=north] at (name.south) {%
|
\node [anchor=north] at (name.south) {%
|
||||||
\fontsize{14pt}{24pt}\color{header}%
|
\fontsize{14pt}{24pt}\color{header}%
|
||||||
#3%
|
{\Large #2}%
|
||||||
};
|
};
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
\vspace{2.5cm}
|
\vspace{2.5cm}
|
||||||
|
|||||||
Reference in New Issue
Block a user