From 68a1f722fa32194a012fafb3a23b386c9dd04f29 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Fri, 17 Nov 2023 00:02:15 +0100 Subject: [PATCH] Thesis: Fancier Chapter titling --- documents/thesis/preamble.tex | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/documents/thesis/preamble.tex b/documents/thesis/preamble.tex index 0d86b72..9b01c98 100644 --- a/documents/thesis/preamble.tex +++ b/documents/thesis/preamble.tex @@ -48,15 +48,18 @@ %% <<< Layout %% -\titleformat{\chapter}[hang] % shape -{\normalfont\bfseries\huge} % format -{\thechapter.} % label +\titleformat{\chapter}[block] % shape +{\normalfont\bfseries\LARGE\filcenter} % format +{\chaptertitlename\ \thechapter.\\} % label {0.5ex} % sep -{ +{\huge } % before-code -[ +[\vspace{0.5ex}% +{\titlerule[2pt]} ] % after-code +\titlespacing{\chapter}{0pt}{*3}{*3} + \setlength{\parindent}{0cm} %\DeclareRobustCommand{\thefootnote}{\alph{footnote}} % alphabetic footnote markers