\usepackage{fancyhdr}  % Text layout and margins, headers so on