Korrigiere Header-Anzeige in allen Verzeichnissen und auf Kapitelseiten
This commit is contained in:
parent
21d3a9c57c
commit
31325e289a
@ -18,6 +18,7 @@
|
|||||||
% ------------------------------------------------------------------------------
|
% ------------------------------------------------------------------------------
|
||||||
{
|
{
|
||||||
\newpage
|
\newpage
|
||||||
|
\pagestyle{fancy}
|
||||||
\blenderfont
|
\blenderfont
|
||||||
\vspace*{-5.5em}
|
\vspace*{-5.5em}
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
@ -33,6 +34,7 @@
|
|||||||
% Figures are automatically numbered and referenced
|
% Figures are automatically numbered and referenced
|
||||||
% ------------------------------------------------------------------------------
|
% ------------------------------------------------------------------------------
|
||||||
\newpage
|
\newpage
|
||||||
|
\pagestyle{fancy}
|
||||||
{
|
{
|
||||||
\noindent
|
\noindent
|
||||||
\blenderfont
|
\blenderfont
|
||||||
@ -51,6 +53,7 @@
|
|||||||
\blenderfont
|
\blenderfont
|
||||||
\listoftables
|
\listoftables
|
||||||
}
|
}
|
||||||
|
\pagestyle{fancy}
|
||||||
|
|
||||||
% ------------------------------------------------------------------------------
|
% ------------------------------------------------------------------------------
|
||||||
% List of Listings
|
% List of Listings
|
||||||
@ -64,6 +67,7 @@
|
|||||||
\blenderfont
|
\blenderfont
|
||||||
\lstlistoflistings
|
\lstlistoflistings
|
||||||
}
|
}
|
||||||
|
\pagestyle{fancy}
|
||||||
|
|
||||||
% ------------------------------------------------------------------------------
|
% ------------------------------------------------------------------------------
|
||||||
% List of Equations
|
% List of Equations
|
||||||
@ -76,6 +80,7 @@
|
|||||||
\blenderfont
|
\blenderfont
|
||||||
\listofmyequations
|
\listofmyequations
|
||||||
}
|
}
|
||||||
|
\pagestyle{fancy}
|
||||||
|
|
||||||
% ------------------------------------------------------------------------------
|
% ------------------------------------------------------------------------------
|
||||||
% Glossary Section
|
% Glossary Section
|
||||||
@ -94,6 +99,7 @@
|
|||||||
{
|
{
|
||||||
\renewcommand*{\entryname}{Wort}
|
\renewcommand*{\entryname}{Wort}
|
||||||
\newpage
|
\newpage
|
||||||
|
\pagestyle{fancy}
|
||||||
\vspace*{-2.25em}
|
\vspace*{-2.25em}
|
||||||
\printglossary
|
\printglossary
|
||||||
}
|
}
|
||||||
@ -103,6 +109,7 @@
|
|||||||
{
|
{
|
||||||
\renewcommand*{\entryname}{Abkürzung}
|
\renewcommand*{\entryname}{Abkürzung}
|
||||||
\newpage
|
\newpage
|
||||||
|
\pagestyle{fancy}
|
||||||
\vspace*{-2.25em}
|
\vspace*{-2.25em}
|
||||||
\printglossary[type=\acronymtype]
|
\printglossary[type=\acronymtype]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,6 +22,9 @@
|
|||||||
% Remove default header rule
|
% Remove default header rule
|
||||||
\renewcommand{\headrulewidth}{0pt}
|
\renewcommand{\headrulewidth}{0pt}
|
||||||
|
|
||||||
|
% Override KOMA-Script chapter page style to use fancy instead of plain
|
||||||
|
\renewcommand{\chapterpagestyle}{fancy}
|
||||||
|
|
||||||
% ==============================================================================
|
% ==============================================================================
|
||||||
% Page Number Configuration
|
% Page Number Configuration
|
||||||
% ==============================================================================
|
% ==============================================================================
|
||||||
@ -74,9 +77,14 @@
|
|||||||
% Define the plain page style (used on chapter start pages)
|
% Define the plain page style (used on chapter start pages)
|
||||||
\fancypagestyle{plain}{
|
\fancypagestyle{plain}{
|
||||||
\fancyhf{}
|
\fancyhf{}
|
||||||
% No header on chapter start pages
|
% Show headers also on chapter start pages
|
||||||
\fancyhead[R]{}
|
\fancyhead[L]{%
|
||||||
\fancyhead[L]{}
|
\color{gray}\blenderfont%
|
||||||
|
\ifnum\value{chapter}>0%
|
||||||
|
\thechapter\quad\leftmark%
|
||||||
|
\fi%
|
||||||
|
}
|
||||||
|
\fancyhead[R]{\color{gray}\blenderfont\@title}
|
||||||
% Same footer as regular pages
|
% Same footer as regular pages
|
||||||
\fancyfoot[L]{%
|
\fancyfoot[L]{%
|
||||||
\color{gray}\blenderfont%
|
\color{gray}\blenderfont%
|
||||||
@ -122,6 +130,15 @@
|
|||||||
\originalchapter{#1}%
|
\originalchapter{#1}%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% ==============================================================================
|
||||||
|
% Override Default Page Styles
|
||||||
|
% ==============================================================================
|
||||||
|
% Ensure all special pages use fancy style
|
||||||
|
\AtBeginDocument{%
|
||||||
|
\pagestyle{fancy}%
|
||||||
|
\renewcommand{\chapterpagestyle}{fancy}%
|
||||||
|
}
|
||||||
|
|
||||||
% ==============================================================================
|
% ==============================================================================
|
||||||
% End of Page Setup Module
|
% End of Page Setup Module
|
||||||
% ==============================================================================
|
% ==============================================================================
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user