fix(latex): correct chapter dot leaders and page font in table of contents to be all normalfont for all level instead of bfseries

This commit is contained in:
nuluh
2025-05-11 10:41:40 +07:00
parent f83b890055
commit 2db5170366

View File

@@ -79,6 +79,9 @@
\setlength{\cftsecnumwidth}{2.5em} \setlength{\cftsecnumwidth}{2.5em}
\setlength{\cftsubsecnumwidth}{2.5em} \setlength{\cftsubsecnumwidth}{2.5em}
\renewcommand \cftchapdotsep{4.5} \renewcommand \cftchapdotsep{4.5}
\renewcommand \cftchapdotsep{4.5} % https://tex.stackexchange.com/a/273764
\renewcommand{\cftchapleader}{\normalfont\cftdotfill{\cftsecdotsep}}
\renewcommand{\cftchappagefont}{\normalfont}
% Title styling % Title styling
\renewcommand{\contentsname}{\hfill\bfseries\normalsize DAFTAR ISI\hfill} \renewcommand{\contentsname}{\hfill\bfseries\normalsize DAFTAR ISI\hfill}