aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-11-21 10:40:41 +0100
committerNao Pross <np@0hm.ch>2021-11-21 10:40:41 +0100
commit841e98cca145d558d88caaa792d9d133c13181fb (patch)
tree40c8a5a7230056d379f438cc91126032a4ee60ae /doc
parentRemove space from filename (diff)
downloadFading-841e98cca145d558d88caaa792d9d133c13181fb.tar.gz
Fading-841e98cca145d558d88caaa792d9d133c13181fb.zip
Change chapter title
Diffstat (limited to 'doc')
-rw-r--r--doc/thesis/tex/docstyle.sty14
1 files changed, 14 insertions, 0 deletions
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: