From 5e08d4f8c6d72bc3dc9f0bbec958cc477155b2ca Mon Sep 17 00:00:00 2001 From: nuluh Date: Sun, 11 May 2025 11:21:50 +0700 Subject: [PATCH] fix(latex): remove custom table of contents command since it doesnt give any effects when directly \renewcommand without through packages --- latex/thesis.cls | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/latex/thesis.cls b/latex/thesis.cls index b5000b6..0dc8155 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -93,18 +93,6 @@ \renewcommand{\cftaftertoctitle}{\hfill\hfill} % https://tex.stackexchange.com/a/255699/394075 % \renewcommand{\cftaftertoctitle}{\vskip 2em} -\renewcommand{\tableofcontents}{ - \clearpage - \pagestyle{plain} % Roman page number, centered bottom - \pagenumbering{roman} - \setcounter{page}{viii} % Optional: sync with expected numbering - \addcontentsline{toc}{chapter}{DAFTAR ISI} - \oldtableofcontents - \clearpage - \pagenumbering{arabic} - \setcounter{page}{1} % Start chapter 1 at page 1 -} - % Frontmatter Macro (Toggle TOC Inclusion) \newcommand{\frontmattersection}[3]{% \begin{titlepage}