adjust footer design

This commit is contained in:
Frederik Beimgraben 2025-10-30 19:29:56 +01:00
parent 0a990f39ca
commit d6c4386f52

View File

@ -40,6 +40,24 @@
% Clear all header and footer fields % Clear all header and footer fields
\fancyhf{} \fancyhf{}
\newcommand{\fancyfootL}{
\color{gray}\blenderfont
\raisebox{0em}{
\hspace{-2pt}\@author
}
\newline
\raisebox{0em}{
\hspace{-2pt}\ifdef{\modulename}{\modulename}{Modul-Name}
}
}
\newcommand{\fancyfootC}{
\color{gray}\blenderfont\newline
\raisebox{0em}{
Seite~\thepage~von~\pageref{LastPage}
}
}
% ------------------------------------------------------------------------------ % ------------------------------------------------------------------------------
% Header Configuration % Header Configuration
% ------------------------------------------------------------------------------ % ------------------------------------------------------------------------------
@ -64,13 +82,11 @@
% ------------------------------------------------------------------------------ % ------------------------------------------------------------------------------
% Footer format: Author Name | Module Name | Page X of Y % Footer format: Author Name | Module Name | Page X of Y
% The footer is centered % The footer is centered
\fancyfoot[C]{% \fancyfoot[L]{
\color{gray}\blenderfont% \fancyfootL
\@author% }
\footerhorizspacing% \fancyfoot[C]{
\ifdef{\modulename}{\modulename}{Modul-Name}% \fancyfootC
\footerhorizspacing%
Seite~\thepage~von~\pageref{LastPage}%
} }
% ============================================================================== % ==============================================================================
@ -88,13 +104,11 @@
} }
\fancyhead[L]{\color{gray}\blenderfont\@title} \fancyhead[L]{\color{gray}\blenderfont\@title}
% Same footer as regular pages % Same footer as regular pages
\fancyfoot[C]{% \fancyfoot[C]{
\color{gray}\blenderfont% \fancyfootC
\@author% }
\footerhorizspacing% \fancyfoot[L]{
\ifdef{\modulename}{\modulename}{Modul-Name}% \fancyfootL
\footerhorizspacing%
Seite~\thepage~von~\pageref{LastPage}%
} }
\renewcommand{\headrulewidth}{0pt} \renewcommand{\headrulewidth}{0pt}
} }
@ -112,13 +126,11 @@
\ifthenelse{\value{chapter} > 0}{\thechapter~~\leftmark}{} \ifthenelse{\value{chapter} > 0}{\thechapter~~\leftmark}{}
} }
\fancyhead[L]{\color{gray}\blenderfont\@title} \fancyhead[L]{\color{gray}\blenderfont\@title}
\fancyfoot[C]{% \fancyfoot[C]{
\color{gray}\blenderfont% \fancyfootC
\@author% }
\footerhorizspacing% \fancyfoot[L]{
\ifdef{\modulename}{\modulename}{Modul-Name}% \fancyfootL
\footerhorizspacing%
Seite~\thepage~von~\pageref{LastPage}%
} }
} }