Skip to content
Snippets Groups Projects
Commit 94a7fe58 authored by Jannik Dunkelau's avatar Jannik Dunkelau
Browse files

Fix pagestyle for lstlistoflistings

parent a731f3ed
Branches
No related tags found
No related merge requests found
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesClass{hhuthesis}[2023/10/23 HHU Thesis LaTeX document class v1.24] \ProvidesClass{hhuthesis}[2023/10/23 HHU Thesis LaTeX document class v1.25]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} % Options fallback. \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} % Options fallback.
\ProcessOptions\relax \ProcessOptions\relax
...@@ -261,12 +261,12 @@ ...@@ -261,12 +261,12 @@
%% Format listofs. %% Format listofs.
\AtBeginDocument{% \AtBeginDocument{%
\preto\listoftables{\thispagestyle{headings}}% \appto\listoftables{\thispagestyle{headings}}%
\preto\listoffigures{\thispagestyle{headings}}% \appto\listoffigures{\thispagestyle{headings}}%
\@ifpackageloaded{lstlisting}{% \@ifpackageloaded{listings}{%
\preto\lstlistoflistings{\thispagestyle{headings}}% \appto\lstlistoflistings{\thispagestyle{headings}}%
}{}% }{}%
\preto\listofalgorithms{\thispagestyle{headings}}% \appto\listofalgorithms{\thispagestyle{headings}}%
} }
......
...@@ -129,6 +129,12 @@ ...@@ -129,6 +129,12 @@
\tableofcontents \tableofcontents
%% Listings of figures, tables, etc. Delete what is not needed.
\clearpage
\listoftables\thispagestyle{headings}
\listoffigures
\listofalgorithms % Algorithms
\lstlistoflistings % Code Listings
\mainmatter \mainmatter
...@@ -155,12 +161,6 @@ ...@@ -155,12 +161,6 @@
\backmatter \backmatter
%% Listings of figures, tables, etc. Delete what is not needed.
\listoffigures
\listoftables
\listofalgorithms % Algorithms
\lstlistoflistings % Code Listings
\clearpage \clearpage
\bibliography{references} \bibliography{references}
%% Depending on Language, use german alphadin or original alpha %% Depending on Language, use german alphadin or original alpha
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment