From e0fbc23257c5347cfded22916e3a4e1b871fd520 Mon Sep 17 00:00:00 2001 From: nuluh Date: Sun, 11 May 2025 11:09:24 +0700 Subject: [PATCH] fix(latex): ensure TOC and references respect custom numbering by redefining \thechapter to preserve the roman in TOC --- latex/thesis.cls | 3 +++ 1 file changed, 3 insertions(+) diff --git a/latex/thesis.cls b/latex/thesis.cls index 429a06f..bc23b83 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -83,6 +83,9 @@ \renewcommand{\cftchapleader}{\normalfont\cftdotfill{\cftsecdotsep}} \renewcommand{\cftchappagefont}{\normalfont} +% Ensure TOC and References Respect Custom Numbering +\renewcommand{\thechapter}{chapter.\Roman{chapter}} + % Table of Contents (TOC) Title styling \renewcommand{\contentsname}{DAFTAR ISI} \renewcommand{\cfttoctitlefont}{\bfseries\MakeUppercase}