Implementierung mit scrlayer-scrpage

This commit is contained in:
DarthJenow
2022-04-04 10:12:19 +02:00
parent d4aa97dd2b
commit 6247d2ed86

View File

@@ -55,6 +55,11 @@
% \newcommand{\subtitle}[1]{\posttitle{\par\end{center}\begin{center}\large#1\end{center}\vskip0.5em}} %enables subtitle % \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 \widowpenalty
\clubpenalty \clubpenalty
@@ -66,17 +71,30 @@
\date{Stand \vhCurrentDate} \date{Stand \vhCurrentDate}
\publishers{installiert von Jonas Borho \& Simon Ziegler} \publishers{installiert von Jonas Borho \& Simon Ziegler}
\newcommand{\rarrow}{$\rightarrow$ } % header and footer
\newcommand{\larrow}{$\leftarrow$ } \usepackage[
\newcommand{\Rarrow}{$\Rightarrow$ } automark,
\newcommand{\Larrow}{$\Leftarrow$ } 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}
% \let\origGls\Gls % \let\origGls\Gls
% \renewcommand{\Gls}[1]{\rarrow\origGls{#1}} % \renewcommand{\Gls}[1]{\rarrow\origGls{#1}}
\KOMAoptions{numbers=noendperiod} \KOMAoptions{numbers=noendperiod}
\begin{document} \begin{document}
\maketitle \maketitle