From 676b2b1a879bf4ff1094bb067e7b0b3d6d455f59 Mon Sep 17 00:00:00 2001 From: nuluh Date: Sun, 11 May 2025 11:12:50 +0700 Subject: [PATCH] fix(latex): remove accidental prefix 'chapter' string in TOC and fix the section numbering to keep using chapter's counter in arabic instead of inherited in roman --- latex/thesis.cls | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/latex/thesis.cls b/latex/thesis.cls index bc23b83..75101af 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -84,7 +84,9 @@ \renewcommand{\cftchappagefont}{\normalfont} % Ensure TOC and References Respect Custom Numbering -\renewcommand{\thechapter}{chapter.\Roman{chapter}} +\renewcommand{\thechapter}{\Roman{chapter}} +\renewcommand\thesection{\arabic{chapter}.\arabic{section}} + % Table of Contents (TOC) Title styling \renewcommand{\contentsname}{DAFTAR ISI}