\documentclass[10pt]{scrreprt} \usepackage[twoside ,papersize={148mm, 210mm} ,layoutsize={148mm, 210mm} ,top=1.5cm ,bottom=2cm ,footskip=1cm ,textwidth=12cm ,verbose ]{geometry} \renewcommand*{\chapterheadstartvskip}{} \usepackage[parfill]{parskip} \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{eso-pic} \usepackage{caption} \usepackage[colorlinks=false, pdfborder={0 0 0}]{hyperref} \usepackage{wrapfig} \usepackage{menukeys} \usepackage{url} \usepackage{amssymb} \usepackage{eurosym} \usepackage{multicol} \setlength{\multicolsep}{0.5em} \usepackage{longtable} \usepackage{enumitem} % to easily remove itemize indent for the checklist \usepackage{fontspec} \usepackage{polyglossia} \setmainlanguage{german} \newcommand{\glqq}{„} \newcommand{\grqq}{“} \definecolor{ese_bg_color}{rgb}{0.34, 0.23, 0.46} % 87, 59, 117 \definecolor{ese_fg_color}{rgb}{1, 1, 1} \definecolor{ifsrgreen}{rgb}{0.69, 0.88, 0.11} % 177, 225, 28 \definecolor{ifsrgray}{rgb}{0.6, 0.6, 0.6} % 153, 153, 153 \changemenucolor{gray}{bg}{named}{ese_bg_color} %background of the menukeys \changemenucolor{gray}{br}{named}{ese_fg_color} %border of the menukeys \changemenucolor{gray}{txt}{named}{ese_fg_color} %text of the menukeys \setmainfont{PT Sans} \setkomafont{chapter}{\color{ese_bg_color}\fontspec[BoldFont={* Bold}]{Exo}\huge} \setkomafont{chapterentry}{\normalfont\bfseries} \setkomafont{minisec}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Exo}\large} \setkomafont{paragraph}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Exo}} \setkomafont{pagenumber}{\color{ifsrgray}\fontspec{PT Sans}} \newcounter{linkcounter} \newcommand\linklist{} \makeatletter \newcommand{\link}[1]{% \edef\tmptoken{\detokenize{#1}}% \@ifundefined{nopanic@link@\tmptoken}{% \edef\@linknumber{\arabic{linkcounter}}% \protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\textcolor{ese_fg_color}{\@linknumber}}}}% \expandafter\global\expandafter\edef\csname nopanic@link@\tmptoken\endcsname{\arabic{linkcounter}}% % % Standard print output: \expandafter\g@addto@macro\expandafter\linklist\expandafter{\@tmpkey & \url{#1}\\}% % % Link system output: % Copypasting the output of the following lines into a text file, then run and execute the result of: % awk '{print "mkdir " $1 " && echo \"\" > " $1 "/index.php"}' %\expandafter\g@addto@macro\expandafter\linklist\expandafter{\expandafter&\expandafter\tiny\@linknumber\ \url{#1}\\}% % \stepcounter{linkcounter}% }{% \protected@edef\@tmpkey{{\fontsize{9pt}{0}\selectfont\keys{\textcolor{ese_fg_color}{\csname nopanic@link@\tmptoken\endcsname}}}}% }% \href{#1}{\@tmpkey}% } \makeatother \sloppy % forces "ugly" line breaks \pagestyle{plain} \begin{document} %Das Coverbild, oh gott o.O Aber es funktioniert \newcommand\CoverPic{% \put(0,0){% \parbox[b][\paperheight]{\paperwidth}{% \vfill \centering \includegraphics[width = \paperwidth, height = \paperheight]{cover/Vorne}% \vfill }}} \thispagestyle{empty} %keine Seitenzahl \AddToShipoutPictureBG*{\CoverPic} \mbox{} %brauche leeren Content für ne newpage %\newpage \include{texte/zeitplan} \tableofcontents \include{texte/vorwort} \include{texte/grusswort} \include{texte/studienbetrieb} \include{texte/checkliste} \include{texte/moduluebersicht} \include{texte/f1help} \include{texte/auditorium} \include{texte/fsr} \include{texte/cd} \include{texte/ascii} \include{texte/zih} \include{texte/glossar} \include{texte/links} \include{texte/campusplan} \include{texte/werbung} \include{cover/back} \end{document}