From 866799fb65a93033bba72335dff860cf95606370 Mon Sep 17 00:00:00 2001 From: "Rifqi D. Panuluh" <69516665+nuluh@users.noreply.github.com> Date: Wed, 15 Oct 2025 10:22:44 +0000 Subject: [PATCH] fix(latex): add comment to clarify customization of plain page style for chapter pages --- latex/thesis.cls | 1 + 1 file changed, 1 insertion(+) diff --git a/latex/thesis.cls b/latex/thesis.cls index 4e246f3..5e94095 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -141,6 +141,7 @@ \renewcommand{\headrulewidth}{0pt} \fancyfoot[C]{\thepage} } +% Some LaTeX commands, like \chapter and \chapter*, use the \thispagestyle command to automatically switch to the plain page style, thus ignoring the page style currently in effect. To customize even such pages you must redefine the plain pagestyle. And current 'plain' style by default has correct format. This following command only used for non-chapter-page \fancypagestyle{fancyplain}{% \fancyhf{} \setlength{\headheight}{15pt} % to avoid fancyhdr warning