I'm trying to deconstruct the figgeri-cv and make changes/simplify wherever possible to start learning latex and at the same time build something useful. Any idea why the \fontsize will not be applied, how could I make it work?
Code: Select all
\documentclass[]{article}
\usepackage[utf8]{inputenc}
% xcolor defines document wide colors that can be easily referenced
\RequirePackage{xcolor}
\definecolor{white}{RGB}{255,255,255}
\definecolor{black}{RGB}{0,0,0}
\definecolor{grey}{RGB}{77,77,77}
%%%%%%%%%%
% Header %
%%%%%%%%%%
% TikZ creates PGF (portable graphics) - let's you draw
\RequirePackage{tikz}
\newcommand{\header}[3]{%
\begin{tikzpicture}[remember picture,overlay]
% node[<options>](<name>){<text>}
% simple shape with text on it
% [1] creates rectangle 4cm high (grey) box at top of page
\node [rectangle,
fill={grey},
anchor=north,
minimum width=\paperwidth,
minimum height=4cm]
(box) at (current page.north){};
% [2] text {firstname}{lastname} in center of box
\node [anchor=center]
(name) at (box) {%
\fontsize{99pt}{}\color{white}%
{#1}{#2}
};
% [3] text under textbox[2] {job title}
\node [anchor=north]
(name) at (name.south) {%
\fontsize{999pt}{}\color{white}%
{#3}%
};
\end{tikzpicture}
}
\begin{document}
\header{first}{last}
{Job Title}
\end{document}