Format chapter titles
This commit is contained in:
parent
3735ea451c
commit
1117e82390
17
assets/layout.tex
Normal file
17
assets/layout.tex
Normal file
@ -0,0 +1,17 @@
|
||||
\KOMAoption{chapterprefix}{true}
|
||||
% centering the chapter head
|
||||
\let\raggedchapter\centering
|
||||
|
||||
\setkomafont{chapterprefix}{\normalsize\mdseries}
|
||||
|
||||
% This block has the two variables \chapapp and \thechapter. But where
|
||||
% can I find a variable for the title of the chapter (eg. \chaptertile) to apply some styling?
|
||||
\renewcommand*{\chapterformat}{%
|
||||
\MakeUppercase{\chapapp}~\thechapter\\[-0.6\baselineskip]
|
||||
\noindent\makebox[\textwidth]{%
|
||||
\rule{0.9\textwidth}{.5pt}%
|
||||
}%
|
||||
}
|
||||
\addtokomafont{chapter}{\MakeUppercase}
|
||||
|
||||
\RedeclareSectionCommand[beforeskip=0pt,afterskip=8\baselineskip]{chapter}
|
@ -1,3 +1,3 @@
|
||||
%************************************************
|
||||
\chapter*{Abstract}\label{ch:abstract}
|
||||
\chapter{Abstract}\label{ch:abstract}
|
||||
%************************************************
|
||||
|
@ -1,23 +1,24 @@
|
||||
\nonstopmode
|
||||
\nonstopmode{}
|
||||
\documentclass{scrbook}
|
||||
|
||||
\title{A Modern Architecture for High-Level Constraint Modelling Languages}
|
||||
\author{Jip J. Dekker}
|
||||
|
||||
\input{assets/packages.tex}
|
||||
\input{assets/packages}
|
||||
\input{assets/layout}
|
||||
|
||||
% Bibliography preamble
|
||||
\addbibresource{assets/bibliography/references.bib}
|
||||
\addbibresource[label=ownpubs]{assets/bibliography/dekker_publications.bib}
|
||||
|
||||
% Glossary / Acronym preamble
|
||||
\input{assets/glossary.tex}
|
||||
\input{assets/acronyms.tex}
|
||||
\input{assets/glossary}
|
||||
\input{assets/acronyms}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\frontmatter
|
||||
\maketitle
|
||||
\frontmatter{}
|
||||
\maketitle{}
|
||||
\include{chapters/0_abstract}
|
||||
|
||||
\chapter{Publications}
|
||||
|
Reference in New Issue
Block a user