diff options
author | Nao Pross <np@0hm.ch> | 2021-12-24 00:33:57 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-12-24 00:33:57 +0100 |
commit | 478d276f0be612cb7d33d0bb22ae3fc3acc97c9c (patch) | |
tree | 8e13e9b28768c8b9be25469beeaeca9f71de5842 /tex | |
parent | Text from V4 (diff) | |
download | TheCrownBar-478d276f0be612cb7d33d0bb22ae3fc3acc97c9c.tar.gz TheCrownBar-478d276f0be612cb7d33d0bb22ae3fc3acc97c9c.zip |
Final version?
Diffstat (limited to '')
-rw-r--r-- | tex/docstyle.sty | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/tex/docstyle.sty b/tex/docstyle.sty index 9575db9..f5db50e 100644 --- a/tex/docstyle.sty +++ b/tex/docstyle.sty @@ -8,7 +8,7 @@ \ProcessOptions\relax % line stretc -\renewcommand{\baselinestretch}{1.25} +\renewcommand{\baselinestretch}{1.2} %% Page Margins (done with KOMA) \PassOptionsToPackage{geometry}{ @@ -130,7 +130,7 @@ \lstset{style=minimalist, escapechar=`} %% Change style of headings etc. -\RedeclareSectionCommand[beforeskip=0pt,afterskip=3\baselineskip]{chapter} +\RedeclareSectionCommand[beforeskip=0pt,afterskip=2\baselineskip]{chapter} \renewcommand*{\chapterformat}{% \chapappifchapterprefix{\nobreakspace} {% @@ -141,4 +141,28 @@ \normalfont\enskip } +\RedeclareSectionCommand[beforeskip=0pt]{paragraph} + +% Set up mdframes +\PassOptionsToPackage{framemethod = tikz}{mdframed} +\RequirePackage{mdframed} +\mdfsetup{% + linecolor = black, + linewidth = 2pt, + % + frametitlefont = {\bfseries\sffamily\color{white}}, + frametitlebackgroundcolor = black, + frametitlerule = true, + middlelinewidth = 2pt, + % + outermargin = 5mm, + innermargin = 5mm, + innertopmargin = 2mm, + innerbottommargin = 8mm, + skipabove = 1cm, + % minimum height + needspace = 6cm, +} + % vim: set ts=2 sw=2 noet: + |