fix(latex): ensure TOC and references respect custom numbering by redefining \thechapter to preserve the roman in TOC

This commit is contained in:
nuluh
2025-05-11 11:09:24 +07:00
parent 39f966e71b
commit e0fbc23257

View File

@@ -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}