aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: