Merge remote-tracking branch 'origin/header-footer' into grundlagen

This commit is contained in:
DarthJenow
2022-04-12 00:23:35 +02:00

View File

@@ -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