From 841e98cca145d558d88caaa792d9d133c13181fb Mon Sep 17 00:00:00 2001
From: Nao Pross <np@0hm.ch>
Date: Sun, 21 Nov 2021 10:40:41 +0100
Subject: Change chapter title

---
 doc/thesis/tex/docstyle.sty | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

(limited to 'doc/thesis/tex/docstyle.sty')

diff --git a/doc/thesis/tex/docstyle.sty b/doc/thesis/tex/docstyle.sty
index b9a0b8d..c191829 100644
--- a/doc/thesis/tex/docstyle.sty
+++ b/doc/thesis/tex/docstyle.sty
@@ -41,6 +41,8 @@
 \fi
 
 %% Font configuration
+% Use libertine for serif fonts
+% \RequirePackage{libertine}
 % use roboto for sans serif
 \RequirePackage{roboto}
 % Bera for monospaced font
@@ -126,4 +128,16 @@
 % and set style
 \lstset{style=minimalist, escapechar=`}
 
+%% Change style of headings etc.
+\RedeclareSectionCommand[beforeskip=0pt,afterskip=3\baselineskip]{chapter}
+\renewcommand*{\chapterformat}{%
+	\chapappifchapterprefix{\nobreakspace}
+	{%
+		\bfseries\slshape\sffamily\color{blue!30!white}%
+		\fontsize{3em}{0em}\selectfont%
+		\thechapter\autodot%
+	}
+	\normalfont\enskip
+}
+
 % vim: set ts=2 sw=2 noet:
-- 
cgit v1.2.1

