From eb1d2a87b42e8c18f206ce415b856f4ce6acd3a2 Mon Sep 17 00:00:00 2001 From: nuluh Date: Sun, 11 May 2025 23:05:13 +0700 Subject: [PATCH] refactor(latex): move figure numbering declaration --- latex/thesis.cls | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/latex/thesis.cls b/latex/thesis.cls index d3dd97e..4a6285c 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -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}