From db11e7b5833136de341e65af5697c79fefe7700c Mon Sep 17 00:00:00 2001
From: kthoden <kthoden@gwdg.de>
Date: Wed, 2 Jan 2019 14:04:16 +0100
Subject: [PATCH] New header

---
 preambel/pre_eoa.tex | 68 +++++++++++++++++++++++++++++++++++---------
 1 file changed, 54 insertions(+), 14 deletions(-)

diff --git a/preambel/pre_eoa.tex b/preambel/pre_eoa.tex
index 7d7dc3f..dc6c941 100755
--- a/preambel/pre_eoa.tex
+++ b/preambel/pre_eoa.tex
@@ -9,20 +9,28 @@
 \usepackage{xifthen}
 \usepackage{ifplatform}
 
+% new version
+\usepackage[markcase=nouppercase]{scrlayer-scrpage}
+\renewcommand*{\chaptermarkformat}{\thechapter .~}
+\setkomafont{pagehead}{\footnotesize\upshape}
+\ohead[]{\thepage}
+\ihead[]{\leftmark}
+\ofoot[]{}
+
 % Redefining the header
-\usepackage{fancyhdr}
-\pagestyle{fancy} % eigenen Seitestil aktivieren}
-\fancyhfoffset{0pt}
-\fancyhead[RO,LE]{\footnotesize \nouppercase\thepage}
-\fancyhead[RE,LO]{\footnotesize \nouppercase\leftmark}
-%Use to change the size of the header font
-%\fancyhead[RO,LE]{\normalfont\changefontsizes{8pt} \nouppercase\thepage}
-%\fancyhead[RE,LO]{\normalfont\changefontsizes{8pt} \nouppercase\leftmark}
-\renewcommand\chaptermark[1]{\markboth{\thechapter. #1}{}}
-\renewcommand{\headrulewidth}{0pt}
-\fancyfoot{}
-\fancypagestyle{plain}{%
-\fancyhead{}}
+% \usepackage{fancyhdr}
+% \pagestyle{fancy} % eigenen Seitestil aktivieren}
+% \fancyhfoffset{0pt}
+% \fancyhead[RO,LE]{\footnotesize \nouppercase\thepage}
+% \fancyhead[RE,LO]{\footnotesize \nouppercase\leftmark}
+% %Use to change the size of the header font
+% %\fancyhead[RO,LE]{\normalfont\changefontsizes{8pt} \nouppercase\thepage}
+% %\fancyhead[RE,LO]{\normalfont\changefontsizes{8pt} \nouppercase\leftmark}
+% \renewcommand\chaptermark[1]{\markboth{\thechapter. #1}{}}
+% \renewcommand{\headrulewidth}{0pt}
+% \fancyfoot{}
+% \fancypagestyle{plain}{%
+% \fancyhead{}}
 
 % Activate fontspec for various fonts
 \usepackage[no-math]{fontspec}
@@ -275,6 +283,13 @@
 \setlength{\footnotemargin}{2.4mm}
 
 %%%%%%%%%%%% Footnote Sets
+% WARNUNG 2
+% Package etex Warning: Extended allocation already in use.
+% (etex)                etex.sty code will not be used.
+% (etex)                To force etex package to load, add
+% (etex)                \RequirePackage{etex}
+% (etex)                at the start of the document.
+
 \usepackage{etex}
 \usepackage{bigfoot}
 \usepackage{alphalph}
@@ -320,6 +335,16 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Formatierung der Überschriften Anfang
 \usepackage{setspace}
+% WARNUNG 3
+% Class scrbook Warning: Usage of package `titlesec' together
+% (scrbook)              with a KOMA-Script class is not recommended.
+% (scrbook)              I'd suggest to use the package only
+% (scrbook)              if you really need it, because it breaks several
+% (scrbook)              KOMA-Script features, i.e., option `headings' and
+% (scrbook)              the extended optional argument of the section
+% (scrbook)              commands.
+% (scrbook)              Nevertheless, using requested
+% (scrbook)              package `titlesec' on input line 324.
 \usepackage{titlesec}
 \usepackage{titletoc}
 
@@ -775,4 +800,19 @@
   pdfdisplaydoctitle=true,
   pdfstartpage={1},             %what page to start at
   pdfstartview={FitH},         %% zoom to pagewidth
-]{hyperref}
\ No newline at end of file
+  ]{hyperref}
+
+  % WARNUNG 4
+% Class scrbook Warning: \float@addtolists detected!
+% (scrbook)              Implementation of \float@addtolist became
+% (scrbook)              deprecated in KOMA-Script v3.01 2008/11/14 and
+% (scrbook)              has been replaced by several more flexible
+% (scrbook)              features of package `tocbasic`.
+% (scrbook)              Since Version 3.12 support for deprecated
+% (scrbook)              \float@addtolist interface has been
+% (scrbook)              restricted to only some of the KOMA-Script
+% (scrbook)              features and been removed from others.
+% (scrbook)              Loading of package `scrhack' may help to
+% (scrbook)              avoid this warning, if you are using a
+% (scrbook)              a package that still implements the
+% (scrbook)              deprecated \float@addtolist interface .