fix(latex): add tocbibind package to include toc itself in the toc and give dot leaders to it.

This commit is contained in:
nuluh
2025-05-11 10:23:30 +07:00
parent 7820dd580a
commit f83b890055

View File

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