fix: Page numbering method

This commit is contained in:
Frederik Beimgraben 2025-10-30 21:37:46 +01:00
parent 7d895bb63c
commit 88ee385681
3 changed files with 9 additions and 9 deletions

View File

@ -104,11 +104,11 @@
\begin{tikzpicture}[overlay, remember picture] \begin{tikzpicture}[overlay, remember picture]
% === Main Logo(s) === % === Main Logo(s) ===
\node[anchor=south east, inner sep=0pt, xshift=-\footerXShift, yshift=\footerYShift, opacity=0.0] (logo0) at (current page.south east) { \node[anchor=south east, inner sep=0pt, xshift=-\footerXShift, yshift=\footerYShift, opacity=0.0] (logo0) at (current page.south east) {
\strcompare{\thepage}{1}{}{ \strcompare{\thepage}{0}{}{
\includegraphics[height=\imageHeight]{\imagesPath/DUMMY_FOOT.png} \includegraphics[height=\imageHeight]{\imagesPath/DUMMY_FOOT.png}
} }
}; };
\ifnum\thepage=1 \ifnum\thepage=0
\else \else
% For loop to place all logos % For loop to place all logos
\foreach \i in {1,...,\value{logoCounter}} { \foreach \i in {1,...,\value{logoCounter}} {

View File

@ -13,7 +13,7 @@
\begin{titlepage} \begin{titlepage}
\begin{tikzpicture}[overlay, remember picture] \begin{tikzpicture}[overlay, remember picture]
\node[anchor=south east, inner sep=0pt, xshift=-0.1cm, yshift=0.1cm] (heart) at (current page.south east) { \node[anchor=south east, inner sep=0pt, xshift=-0.1cm, yshift=0.1cm] (heart) at (current page.south east) {
\tiny\color{gray}\blenderfont Made with {\ensuremath\heartsuit} in \LaTeX \href{https://github.com/frederikbeimgraben/HSRT-Report}{\tiny\color{gray}\blenderfont Made with {\ensuremath\heartsuit} in \LaTeX}
}; };
\node[anchor=north west, inner sep=0pt, xshift=1.3cm, yshift=-1.5cm, opacity=0] (logo0) at (current page.north west) { \node[anchor=north west, inner sep=0pt, xshift=1.3cm, yshift=-1.5cm, opacity=0] (logo0) at (current page.north west) {
\includegraphics[height=\imageHeight]{\imagesPath/DUMMY_FOOT.png} \includegraphics[height=\imageHeight]{\imagesPath/DUMMY_FOOT.png}

View File

@ -37,6 +37,12 @@
% ============================================================================== % ==============================================================================
\begin{document} \begin{document}
% ------------------------------------------------------------------------------
% Set Page Counter to 0
% ------------------------------------------------------------------------------
% Set page counter to 0, so that the table of contents starts at page 1
\setcounter{page}{0}
% ------------------------------------------------------------------------------ % ------------------------------------------------------------------------------
% Title Page % Title Page
% ------------------------------------------------------------------------------ % ------------------------------------------------------------------------------
@ -44,12 +50,6 @@
% Configuration in Settings/General.tex % Configuration in Settings/General.tex
\maketitle \maketitle
% ------------------------------------------------------------------------------
% Reset Page Counter
% ------------------------------------------------------------------------------
% Reset page counter after title page so TOC starts at page 1
\setcounter{page}{1}
% ------------------------------------------------------------------------------ % ------------------------------------------------------------------------------
% Set Page Style % Set Page Style
% ------------------------------------------------------------------------------ % ------------------------------------------------------------------------------