diff options
author | Nao Pross <np@0hm.ch> | 2021-11-21 10:40:41 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-11-21 10:40:41 +0100 |
commit | 841e98cca145d558d88caaa792d9d133c13181fb (patch) | |
tree | 40c8a5a7230056d379f438cc91126032a4ee60ae /doc/thesis/tex/docstyle.sty | |
parent | Remove space from filename (diff) | |
download | Fading-841e98cca145d558d88caaa792d9d133c13181fb.tar.gz Fading-841e98cca145d558d88caaa792d9d133c13181fb.zip |
Change chapter title
Diffstat (limited to 'doc/thesis/tex/docstyle.sty')
-rw-r--r-- | doc/thesis/tex/docstyle.sty | 14 |
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: |