diff --git a/hhuthesis.cls b/hhuthesis.cls index 03022b9c81aaeaed596cb637705357f08eb42d12..8bc75d54035b134142a6bf79a733e0b7974752c7 100644 --- a/hhuthesis.cls +++ b/hhuthesis.cls @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{hhuthesis}[2021/06/28 HHU Thesis LaTeX document class v1.20] +\ProvidesClass{hhuthesis}[2023/08/24 HHU Thesis LaTeX document class v1.21] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} % Options fallback. \ProcessOptions\relax @@ -121,6 +121,8 @@ \RequirePackage[scaled=0.95]{helvet} \pagestyle{headings} +%% First page of ToC somehow forces page style to plain. This fixes it. +\AtBeginDocument{\addtocontents{toc}{\protect\thispagestyle{headings}}} \setlength{\textwidth}{15cm}