From b277d3cda6077c59e4b9f87bc1082485e045b8b0 Mon Sep 17 00:00:00 2001 From: "Rifqi D. Panuluh" <69516665+nuluh@users.noreply.github.com> Date: Tue, 14 Oct 2025 14:07:02 +0000 Subject: [PATCH] fix(documentclass): update chapter title prefix and toc chapter presnum to be babel/polyglossia-compatible --- latex/thesis.cls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/latex/thesis.cls b/latex/thesis.cls index 85146c3..e37cc35 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -171,7 +171,7 @@ \titleformat{\chapter}[display] {\normalsize\bfseries\centering} - {BAB~\Roman{chapter}} % << display format + {\MakeUppercase\chaptername~\Roman{chapter}} % << display format {1ex} {\MakeUppercase} \titleformat{\section} @@ -184,7 +184,7 @@ \setcounter{secnumdepth}{3} % Ensure chapter reference in TOC matches -\renewcommand{\cftchappresnum}{BAB~} +\renewcommand{\cftchappresnum}{\MakeUppercase\chaptername~} \renewcommand{\cftchapaftersnum}{\quad}