From cfecf04efdb8266ee0a106deb20937bd233929d0 Mon Sep 17 00:00:00 2001
From: mjkwiatkowski <mati.rewa@gmail.com>
Date: Tue, 14 Jul 2026 15:30:23 +0200
Subject: style: ordered the style.tex file

---
 style/style.tex | 32 +++++++-------------------------
 1 file changed, 7 insertions(+), 25 deletions(-)

(limited to 'style/style.tex')

diff --git a/style/style.tex b/style/style.tex
index c787d52..9bae9cf 100644
--- a/style/style.tex
+++ b/style/style.tex
@@ -2,42 +2,22 @@
 \usepackage[inline]{enumitem}
 \usepackage[dvipsnames]{xcolor}
 \usepackage[many]{tcolorbox}
-\tcbuselibrary{skins, breakable}
-\usetikzlibrary{calc}
-% Specified separately in case margins need to be changed.
-\usepackage{geometry}
-
-% For a nice table of contents.
-\usepackage{tocloft}
-% For the font.
-%\usepackage{fouriernc}
-
-% fdsymbol can be loaded together with pifont
-\usepackage{fdsymbol}
-% For beautiful appendices
 \usepackage[page,toc,titletoc,title]{appendix}
-
-% This removes the self-reference to toc, lof, lot in the toc.
 \usepackage[nottoc,notlof,notlot]{tocbibind}
+\usepackage{geometry, tocloft, xspace, lipsum, booktabs, caption, setspace, vmargin, graphicx, pifont, twemojis, float, array, ipsum, circledsteps, inconsolata, listings, hyperref, fdsymbol, cleveref}
 
-\usepackage{xspace, lipsum, booktabs, caption, setspace, vmargin, graphicx, pifont, twemojis, float, array, ipsum, circledsteps, inconsolata, listings}
-
-% Must be separately in case hidelinks=true option is needed.
-\usepackage{hyperref}
+% For the font.
+%\usepackage{fouriernc}
 
-% Makes the TOC title font and number in a bold font.
 \renewcommand\cftchapfont{\bfseries}
 \renewcommand\cftchappagefont{\bfseries}
-% Makes the chapter spacing in the TOC less.
 \setlength{\cftbeforechapskip}{5pt}
-
-% Specifies the spacing between the lines.
 \renewcommand\baselinestretch{1.1}
+\preto\chapter{\glsresetall}
+
 % Glossaries loads amsmath
 \usepackage[acronym, toc]{glossaries}
 
-% For better references. Must be loaded the last.
-\usepackage{cleveref}
 \textwidth 15cm
 \textheight 22cm
 \parindent 10pt
@@ -92,6 +72,8 @@
 
 \lstset{style=mystyle}
 
+\tcbuselibrary{skins, breakable}
+\usetikzlibrary{calc}
 \newtcolorbox{mynote}{%
 	enhanced,
 	breakable,
-- 
cgit v1.2.3

