Füge Dokumenttitel zum Header hinzu und verschiebe Footer 1em nach oben
This commit is contained in:
parent
6db7e9816c
commit
6c954915e5
@ -28,6 +28,9 @@
|
|||||||
% Set page number font style
|
% Set page number font style
|
||||||
\setkomafont{pagenumber}{\color{gray}\blenderfont\selectfont}
|
\setkomafont{pagenumber}{\color{gray}\blenderfont\selectfont}
|
||||||
|
|
||||||
|
% Adjust footer position - move up by 1em
|
||||||
|
\addtolength{\footskip}{-1em}
|
||||||
|
|
||||||
% ==============================================================================
|
% ==============================================================================
|
||||||
% Header and Footer Setup
|
% Header and Footer Setup
|
||||||
% ==============================================================================
|
% ==============================================================================
|
||||||
@ -38,14 +41,14 @@
|
|||||||
% Header Configuration
|
% Header Configuration
|
||||||
% ------------------------------------------------------------------------------
|
% ------------------------------------------------------------------------------
|
||||||
% Left header: Chapter number and title
|
% Left header: Chapter number and title
|
||||||
% Right header: Empty (no page number in header as per requirements)
|
% Right header: Document title
|
||||||
\fancyhead[L]{%
|
\fancyhead[L]{%
|
||||||
\color{gray}\blenderfont%
|
\color{gray}\blenderfont%
|
||||||
\ifnum\value{chapter}>0%
|
\ifnum\value{chapter}>0%
|
||||||
\thechapter\quad\leftmark%
|
\thechapter\quad\leftmark%
|
||||||
\fi%
|
\fi%
|
||||||
}
|
}
|
||||||
\fancyhead[R]{} % Empty right header
|
\fancyhead[R]{\color{gray}\blenderfont\@title} % Document title on right
|
||||||
|
|
||||||
% Update chapter marks to show only chapter name without "Chapter" prefix
|
% Update chapter marks to show only chapter name without "Chapter" prefix
|
||||||
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
|
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
|
||||||
@ -55,7 +58,7 @@
|
|||||||
% Footer Configuration
|
% Footer Configuration
|
||||||
% ------------------------------------------------------------------------------
|
% ------------------------------------------------------------------------------
|
||||||
% Footer format: Author Name | Module Name | Page X of Y
|
% Footer format: Author Name | Module Name | Page X of Y
|
||||||
% The footer is centered and uses proper spacing
|
% The footer is centered
|
||||||
\fancyfoot[C]{%
|
\fancyfoot[C]{%
|
||||||
\color{gray}\blenderfont%
|
\color{gray}\blenderfont%
|
||||||
\@author%
|
\@author%
|
||||||
@ -98,7 +101,7 @@
|
|||||||
\thechapter\quad\leftmark%
|
\thechapter\quad\leftmark%
|
||||||
\fi%
|
\fi%
|
||||||
}
|
}
|
||||||
\fancyhead[R]{}
|
\fancyhead[R]{\color{gray}\blenderfont\@title}
|
||||||
\fancyfoot[C]{%
|
\fancyfoot[C]{%
|
||||||
\color{gray}\blenderfont%
|
\color{gray}\blenderfont%
|
||||||
\@author%
|
\@author%
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user