summaryrefslogtreecommitdiff
path: root/style
diff options
context:
space:
mode:
Diffstat (limited to 'style')
-rw-r--r--style/style.tex32
1 files changed, 7 insertions, 25 deletions
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,