fix(latex): fix \contentsname to keep the title centered by adding dummy second \hfill in the \cftaftertoctitle when using \fancypagestyle or other fancyhdr effects
This commit is contained in:
@@ -84,8 +84,9 @@
|
||||
\renewcommand{\cftchappagefont}{\normalfont}
|
||||
|
||||
% Title styling
|
||||
\renewcommand{\contentsname}{\hfill\bfseries\normalsize DAFTAR ISI\hfill}
|
||||
\renewcommand{\contentsname}{DAFTAR ISI}
|
||||
\renewcommand{\cfttoctitlefont}{\bfseries\MakeUppercase}
|
||||
\renewcommand{\cftaftertoctitle}{\hfill\hfill} % https://tex.stackexchange.com/a/255699/394075
|
||||
% \renewcommand{\cftaftertoctitle}{\vskip 2em}
|
||||
|
||||
\renewcommand{\tableofcontents}{
|
||||
|
||||
Reference in New Issue
Block a user