diff --git a/johannes-streaming-dokumentation.tex b/johannes-streaming-dokumentation.tex index b1cee04..75c775a 100644 --- a/johannes-streaming-dokumentation.tex +++ b/johannes-streaming-dokumentation.tex @@ -55,6 +55,11 @@ % \newcommand{\subtitle}[1]{\posttitle{\par\end{center}\begin{center}\large#1\end{center}\vskip0.5em}} %enables subtitle +\newcommand{\rarrow}{$\rightarrow$ } +\newcommand{\larrow}{$\leftarrow$ } +\newcommand{\Rarrow}{$\Rightarrow$ } +\newcommand{\Larrow}{$\Leftarrow$ } + \widowpenalty \clubpenalty @@ -66,10 +71,24 @@ \date{Stand \vhCurrentDate} \publishers{installiert von Jonas Borho \& Simon Ziegler} -\newcommand{\rarrow}{$\rightarrow$ } -\newcommand{\larrow}{$\leftarrow$ } -\newcommand{\Rarrow}{$\Rightarrow$ } -\newcommand{\Larrow}{$\Leftarrow$ } +% header and footer +\usepackage[ + automark, + headsepline=.4pt, + plainheadsepline, + footsepline=.4pt, + plainfootsepline +]{scrlayer-scrpage} + +\clearpairofpagestyles %\clearscrheadfoot veraltet + +% \renewcommand*{\chaptermarkformat}{\thechapter\autodot\enskip} +\chead*{\headmark} +\lofoot*{Version \vhCurrentVersion} +\refoot*{Version \vhCurrentVersion} +\rofoot*{\pagemark} +\lefoot*{\pagemark} +\setkomafont{pageheadfoot}{\normalfont} \newcommand{\secref}[1]{\hyperref[#1]{\ref*{#1} \textit{\nameref*{#1}}}} \newcommand{\tableref}[1]{\hyperref[#1]{Tabelle \ref*{#1} \textit{\nameref*{#1}}}} @@ -80,7 +99,6 @@ \KOMAoptions{numbers=noendperiod} - \begin{document} \maketitle