% set page margins \newgeometry { left=3cm, right=2cm, top=2cm, bottom=2cm, includehead } % configure hyper links \hypersetup{ bookmarksopen=false, bookmarksnumbered=true, bookmarksopenlevel=0, pdftitle=\reportTitle, pdfsubject=\reportTitle, pdfauthor=\authorName, pdfborder={0 0 0} % disable border } \captionsetup*[figure]{name=Bild} \captionsetup*[table]{name=Tabelle} \captionsetup*[listing]{name=Quelltext} % mak line numbering on the right side (outside) of the header \pagestyle{fancy} \fancyhf{} \fancyhead[R]{\thepage} \renewcommand{\headrulewidth}{0.5pt} % line spacing: 1.5 \onehalfspacing