From c29aab89e1f69869cd29af787c0b46f83194c0d7 Mon Sep 17 00:00:00 2001 From: nuluh Date: Fri, 23 May 2025 14:24:47 +0700 Subject: [PATCH] fix: adjust subsection indentation and dot separation in table of contents --- latex/thesis.cls | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/latex/thesis.cls b/latex/thesis.cls index a8c7287..fda2029 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -130,13 +130,15 @@ \setlength{\cftbeforechapskip}{0em} \setlength{\cftchapindent}{0pt} \setlength{\cftsecindent}{0em} -\setlength{\cftsubsecindent}{2.5em} +\setlength{\cftsubsecindent}{2em} \setlength{\cftchapnumwidth}{3.5em} -\setlength{\cftsecnumwidth}{3.5em} -\setlength{\cftsubsecnumwidth}{2.5em} +\setlength{\cftsecnumwidth}{2em} +\setlength{\cftsubsecnumwidth}{2em} \setlength{\cftfignumwidth}{5em} \setlength{\cfttabnumwidth}{4em} -\renewcommand \cftchapdotsep{4.5} % https://tex.stackexchange.com/a/273764 +\renewcommand \cftchapdotsep{1} % Denser dots (closer together) https://tex.stackexchange.com/a/273764 +\renewcommand \cftsecdotsep{1} % Apply to sections too +\renewcommand \cftsubsecdotsep{1} % Apply to subsections too \renewcommand{\cftchapleader}{\normalfont\cftdotfill{\cftsecdotsep}} \renewcommand{\cftchappagefont}{\normalfont} \renewcommand{\cftfigpresnum}{\figurename~}