From abe87a8f9e55e44f296c19bdf5a9905f5ddd2e4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Sj=C3=B6lund?= <martin.sjolund@liu.se>
Date: Wed, 3 May 2023 09:42:06 +0200
Subject: [PATCH] Added secnumdepth explicitly to the settings

This is mainly to make it easier for the authors to find where and how
to change the setting.
---
 settings.tex | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/settings.tex b/settings.tex
index f9894e7..5f79c42 100644
--- a/settings.tex
+++ b/settings.tex
@@ -85,6 +85,11 @@
 }
 \makeatother
 
+%% Customize the depth of the sections and subsections; too many numbered levels does not look good.
+%% secnumdepth=2 or 3 work well, depending on your writing style
+
+\setcounter{secnumdepth}{3} % \chapter=1, \section=2, \subsection=3 are numbered, but levels below this are not
+\setcounter{tocdepth}{1} % \chapter=0, \section=1, \subsection=2 are included in the table of contents
 
 %% To set bibliography options, refer to the biblatex manual and use
 %% the ExecuteBibliographyOptions command below to set your options
-- 
GitLab