diff --git a/Content/00_toc.tex b/Content/00_toc.tex index c9b4b42..af4b40b 100644 --- a/Content/00_toc.tex +++ b/Content/00_toc.tex @@ -18,6 +18,7 @@ % ------------------------------------------------------------------------------ { \newpage +\pagestyle{fancy} % Ensure fancy page style is active after title page \blenderfont \vspace*{-5.5em} \tableofcontents diff --git a/HSRTReport/Config/PageSetup.tex b/HSRTReport/Config/PageSetup.tex index 141ee72..d2c5f6b 100644 --- a/HSRTReport/Config/PageSetup.tex +++ b/HSRTReport/Config/PageSetup.tex @@ -28,8 +28,8 @@ % Set page number font style \setkomafont{pagenumber}{\color{gray}\blenderfont\selectfont} -% Adjust footer position - move up by 1em -\addtolength{\footskip}{-1em} +% Adjust footer position - move up by reducing footskip +\setlength{\footskip}{25pt} % Reduced from default to move footer up % ============================================================================== % Header and Footer Setup @@ -42,13 +42,13 @@ % ------------------------------------------------------------------------------ % Left header: Chapter number and title % Right header: Document title -\fancyhead[L]{% +\fancyhead[R]{% \color{gray}\blenderfont% \ifnum\value{chapter}>0% \thechapter\quad\leftmark% \fi% } -\fancyhead[R]{\color{gray}\blenderfont\@title} % Document title on right +\fancyhead[L]{\color{gray}\blenderfont\@title} % Document title on right % Update chapter marks to show only chapter name without "Chapter" prefix \renewcommand{\chaptermark}[1]{\markboth{#1}{}} @@ -59,7 +59,7 @@ % ------------------------------------------------------------------------------ % Footer format: Author Name | Module Name | Page X of Y % The footer is centered -\fancyfoot[C]{% +\fancyfoot[L]{% \color{gray}\blenderfont% \@author% \quad|\quad% @@ -75,10 +75,10 @@ \fancypagestyle{plain}{ \fancyhf{} % No header on chapter start pages - \fancyhead[L]{} \fancyhead[R]{} + \fancyhead[L]{} % Same footer as regular pages - \fancyfoot[C]{% + \fancyfoot[L]{% \color{gray}\blenderfont% \@author% \quad|\quad% @@ -95,14 +95,14 @@ % Explicitly define the fancy page style \fancypagestyle{fancy}{ \fancyhf{} - \fancyhead[L]{% + \fancyhead[R]{% \color{gray}\blenderfont% \ifnum\value{chapter}>0% \thechapter\quad\leftmark% \fi% } - \fancyhead[R]{\color{gray}\blenderfont\@title} - \fancyfoot[C]{% + \fancyhead[L]{\color{gray}\blenderfont\@title} + \fancyfoot[L]{% \color{gray}\blenderfont% \@author% \quad|\quad% diff --git a/Main.tex b/Main.tex index f6adb55..128e3fd 100644 --- a/Main.tex +++ b/Main.tex @@ -44,6 +44,12 @@ % Configuration in Settings/General.tex \maketitle +% ------------------------------------------------------------------------------ +% Set Page Style +% ------------------------------------------------------------------------------ +% Ensure fancy page style is active after title page for headers/footers +\pagestyle{fancy} + % ------------------------------------------------------------------------------ % Document Spacing % ------------------------------------------------------------------------------