fix(latex): remove second \hfill in the \cftaftertoctitle to fix the \contentsname with book document class

This commit is contained in:
nuluh
2025-05-11 22:15:05 +07:00
parent e9568583e4
commit 104b72e624

View File

@@ -105,7 +105,7 @@
% Table of Contents (TOC) Title styling
\renewcommand{\contentsname}{DAFTAR ISI}
\renewcommand{\cfttoctitlefont}{\bfseries\MakeUppercase}
\renewcommand{\cftaftertoctitle}{\hfill\hfill} % https://tex.stackexchange.com/a/255699/394075
\renewcommand{\cftaftertoctitle}{\hfill} % https://tex.stackexchange.com/a/255699/394075
% \renewcommand{\cftaftertoctitle}{\vskip 2em}
% Frontmatter Macro (Toggle TOC Inclusion)