fix(latex): remove custom table of contents command since it doesnt give any effects when directly \renewcommand without through packages

This commit is contained in:
nuluh
2025-05-11 11:21:50 +07:00
parent 907f725fa7
commit 5e08d4f8c6

View File

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