fix(documentclass): update chapter title prefix and toc chapter presnum to be babel/polyglossia-compatible
This commit is contained in:
@@ -171,7 +171,7 @@
|
||||
|
||||
\titleformat{\chapter}[display]
|
||||
{\normalsize\bfseries\centering}
|
||||
{BAB~\Roman{chapter}} % << display format
|
||||
{\MakeUppercase\chaptername~\Roman{chapter}} % << display format
|
||||
{1ex}
|
||||
{\MakeUppercase}
|
||||
\titleformat{\section}
|
||||
@@ -184,7 +184,7 @@
|
||||
\setcounter{secnumdepth}{3}
|
||||
|
||||
% Ensure chapter reference in TOC matches
|
||||
\renewcommand{\cftchappresnum}{BAB~}
|
||||
\renewcommand{\cftchappresnum}{\MakeUppercase\chaptername~}
|
||||
\renewcommand{\cftchapaftersnum}{\quad}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user