Skip to content

Commit

Permalink
New header
Browse files Browse the repository at this point in the history
  • Loading branch information
kthoden committed Jan 2, 2019
1 parent 75edf82 commit db11e7b
Showing 1 changed file with 54 additions and 14 deletions.
68 changes: 54 additions & 14 deletions preambel/pre_eoa.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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}
Expand Down Expand Up @@ -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}

Expand Down Expand Up @@ -775,4 +800,19 @@
pdfdisplaydoctitle=true,
pdfstartpage={1}, %what page to start at
pdfstartview={FitH}, %% zoom to pagewidth
]{hyperref}
]{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 .

0 comments on commit db11e7b

Please sign in to comment.