refactor(latex): move figure numbering declaration

This commit is contained in:
nuluh
2025-05-11 23:05:13 +07:00
parent 1f275fad42
commit eb1d2a87b4

View File

@@ -73,10 +73,6 @@
\renewcommand{\cftchappresnum}{BAB~}
\renewcommand{\cftchapaftersnum}{\quad}
% Change figure numbering to include chapter (e.g., Figure 1.1, 1.2...)
\renewcommand{\thefigure}{\arabic{chapter}.\arabic{figure}}
\renewcommand{\thetable}{\arabic{chapter}.\arabic{table}}
% \titlespacing*{\chapter}{0pt}{-10pt}{20pt}
% Redefine \maketitle
@@ -88,7 +84,6 @@
% \renewcommand{\cftsubsecfont}{\itshape}
% \renewcommand{\thesection}{\textup{\Roman{chapter}}.\arabic{section}}
% Dot leaders, spacing, indentation
\setlength{\cftbeforechapskip}{0em}
\setlength{\cftchapindent}{0pt}
@@ -105,6 +100,9 @@
\renewcommand{\thechapter}{\Roman{chapter}}
\renewcommand\thesection{\arabic{chapter}.\arabic{section}}
% Change figure numbering to include chapter (e.g., Figure 1.1, 1.2...)
\renewcommand{\thefigure}{\arabic{chapter}.\arabic{figure}}
\renewcommand{\thetable}{\arabic{chapter}.\arabic{table}}
% Table of Contents (TOC) Title styling
\renewcommand{\contentsname}{DAFTAR ISI}