\documentclass[11pt,a4paper]{article} % Config %%%%%%%%%%% % get settings from config \input{config} \title{\thetitle} \author{\theauthor} \date{\thedate} % Packages %%%%%%%%%%% % Document language \usepackage[dutch]{babel} % Extra font settings \usepackage[utf8]{inputenc} % Document size and marging \usepackage[ a4paper, includeheadfoot, top=0.5cm, bottom=3.0cm, right=2.0cm, left=2.0cm ]{geometry} % Links in file \usepackage[hidelinks]{hyperref} % Newline in front of paragraph \usepackage{parskip} % Enable importing graphics \usepackage{graphicx} \graphicspath{{figs/}} % Fancy header and footer \usepackage{fancyhdr} \fancyhf{} \pagestyle{fancy} % Header \fancyhead[L]{\small\rm\textit{\rightmark}} \fancyhead[R]{\small\rm\textbf{\thepage}} \renewcommand{\headrulewidth}{0.5pt} % Footer \fancyfoot[L]{\small\rm\textit{\thetitle}} \fancyfoot[R]{\small\rm\textit{\theauthor}} \renewcommand{\footrulewidth}{0.5pt} \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}