From 702760cc5ee9487e8b158de76897a64738c5a705 Mon Sep 17 00:00:00 2001 From: nuluh Date: Sun, 11 May 2025 12:52:52 +0700 Subject: [PATCH] fix(latex): assign fancyhdr preset page style to frontmatter section macro --- latex/thesis.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latex/thesis.cls b/latex/thesis.cls index cb28373..8f7d4c6 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -107,7 +107,7 @@ \newcommand{\frontmattersection}[3]{% \begin{titlepage} \centering - \ifstrequal{#1}{toc}{\addcontentsline{toc}{chapter}{#2}}{\chapter*{#2}}% + \ifstrequal{#1}{toc}{\thispagestyle{fancyplainfrontmatter}\addcontentsline{toc}{chapter}{#2}}{\chapter*{#2}}% \input{frontmatter/#3} \end{titlepage} \clearpage