From f83b890055dc4519b3f768c32aa78603c8380562 Mon Sep 17 00:00:00 2001 From: nuluh Date: Sun, 11 May 2025 10:23:30 +0700 Subject: [PATCH] fix(latex): add tocbibind package to include toc itself in the toc and give dot leaders to it. --- latex/thesis.cls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/latex/thesis.cls b/latex/thesis.cls index df25e3f..2cd1aa6 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -13,6 +13,7 @@ \RequirePackage{hyperref} \RequirePackage{etoolbox} \RequirePackage{tocloft} +\RequirePackage{tocbibind} % Page layout \geometry{margin=1in} @@ -77,6 +78,7 @@ \setlength{\cftchapnumwidth}{4em} \setlength{\cftsecnumwidth}{2.5em} \setlength{\cftsubsecnumwidth}{2.5em} +\renewcommand \cftchapdotsep{4.5} % Title styling \renewcommand{\contentsname}{\hfill\bfseries\normalsize DAFTAR ISI\hfill}