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]
|
\titleformat{\chapter}[display]
|
||||||
{\normalsize\bfseries\centering}
|
{\normalsize\bfseries\centering}
|
||||||
{BAB~\Roman{chapter}} % << display format
|
{\MakeUppercase\chaptername~\Roman{chapter}} % << display format
|
||||||
{1ex}
|
{1ex}
|
||||||
{\MakeUppercase}
|
{\MakeUppercase}
|
||||||
\titleformat{\section}
|
\titleformat{\section}
|
||||||
@@ -184,7 +184,7 @@
|
|||||||
\setcounter{secnumdepth}{3}
|
\setcounter{secnumdepth}{3}
|
||||||
|
|
||||||
% Ensure chapter reference in TOC matches
|
% Ensure chapter reference in TOC matches
|
||||||
\renewcommand{\cftchappresnum}{BAB~}
|
\renewcommand{\cftchappresnum}{\MakeUppercase\chaptername~}
|
||||||
\renewcommand{\cftchapaftersnum}{\quad}
|
\renewcommand{\cftchapaftersnum}{\quad}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user